by frou_dh · 13y ago · 0 comments
http://williamdurand.fr/2012/01/17/my-git-branching-model/
i.e. before merging a feature branch, always rebase it on the tip of the integration branch, then merge it in with --no-ff to record an explicit merge commit on the integration branch, even though a fast-forward is possible. This gets you the temporal straightforwardness of rebase while preserving the fact that there WERE feature branches and their commits are partitioned in history.
Check out git flow, you might like it. It could add even more structure and readability to your codebase history.