Jump to content

Branch after change


Soho

Recommended Posts

The developers in my team, including myself, have often faced the problem that we want some changes to be committed to a new branch.

We are currently not using Plastic with an issue tracker, so the work flow is that branches are created manually when needed. Often it happens that someone makes some changes to a project and realize that those changes ought to belong in a sub-branch.

Maybe the changes turned out to be a little to experimental or maybe the developer created a new branch, but forgot to switch to it (a common mistake).

It would be most helpful if it was possible to create a new branch and keep uncommitted changes in the current workspace when switching to the new branch.

Link to comment
Share on other sites

  • 4 weeks later...

second this awesome feature. our workflow is similar to Soho's also. Occasionally also a developer will make another change on a branch unrelated to what the branch was created for, eg minor tweak or bug fix. Often this is done unintentionally as they forget which branch they are on. What is the recommended workflow in this case? Eg how to move a few changed files out of one branch and into a new one

Ideal would be to commit everything except the unrelated files. then move those onto a new branch. Have experimented with cherry pick but not too sure as yet~

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...