katalyst / change

Git workflow manager.
MIT License
0 stars 1 forks source link

Option: --return-branch #11

Closed haydn closed 11 years ago

haydn commented 11 years ago

Any command that can checkout another branch should have an option that can specify a return branch:

$ change stage change/example --return-branch change/example

This is so if the command is interrupted (because of a merge conflict, for example) it can say something like this:

A merge error has occurred. Fix the merge conflicts and run:
  change stage change/example --return-branch change/example