Skip to content

git reflow with git submodules #147

Description

@mishagray

So I seem to have a problem using git reflow inside of a git submodule.

What I want to be able to do, is simultaneously work on an App and a Framework library (which is setup as a gitsubmodule of the app) at the same time.

In general the Framework has to be tested using the app anyways. So we wouldn't develop 'outside' of the submodule.

Steps

  • have any repo that has a submodule. (ex: App)
  • cd into the submodule (assume it is currently pointing to master). (ex Lib)
  • run 'git reflow start mg_my_new_feature'
  • edit some stuff and commit.
  • run 'git reflow review`

Get this error:
error: Not a directory - /repos/App/Lib/.git/GIT_REFLOW_PR_MSG

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions