Re:Git: Using Advanced Rebase Features for a Clean Repository
by mugsie on Wednesday August 09, 2017 @07:23AM
(#14967482)
This is the type of workflow you get when using something like gerrit.
because gerrit forces every change to be a single commit, you have to rebase, which ensures that the history is nice and linear.
I know there is some people who prefer the "git-flow" style history graph (and I was one of those people) - but there is a lot of advantages to a clean history.
And, yes gerrit can be painful at first, but is a lot better with something like git-review[0], or repo[1]
because gerrit forces every change to be a single commit, you have to rebase, which ensures that the history is nice and linear.
I know there is some people who prefer the "git-flow" style history graph (and I was one of those people) - but there is a lot of advantages to a clean history.
And, yes gerrit can be painful at first, but is a lot better with something like git-review[0], or repo[1]
0 - https://docs.openstack.org/infra/git-review/
1 - https://source.android.com/source/using-repo