News for hackers. Stuff that matters.
Re:Git rebase in depth by gbacon on Saturday May 11, 2019 @07:44AM (#19885698)
When cleaning up my own feature branch for review

    git merge —-squash <tree-ish>
When merging into the baseline

    git merge —-no-ff <tree-ish>
The reason for the latter is subtle. Yes, a perfectly linear history is nice in the aesthetic sense. However, the merge commits are artifacts of reviews that are useful in process audits, which QA and QC like to preserve.

There are no comments on this comment yet.