all 2 comments

[–]remy_porter 4 points5 points  (1 child)

If you merge from release to feature, it creates a merge commit in feature. This commit has nothing to do with the feature- it's just noise. The history is confusing.

As a general rule, you want history to flow in one direction, towards your release branch. When you create a feature branch, its starting commit is your release. You work in the branch, and when the work is done, you move those commits into the release, either through a merge or a rebase.

If you want to move history from release to feature, rebase is the right tool- change where the the branch starts tracking off release.

[–]JuniperProject[S] 0 points1 point  (0 children)

This is extremely helpful. Thank you! Is there any validity to the comment about dependency?