Re:Show HN: Why you should not use feature branches
by ScottFree on Friday April 19, 2019 @08:35AM
(#19699019)
Rebase is so terrible and not because of the lost commit history (most of which deserves to be lost, imho. git merge history is too verbose and oftentimes not useful).
My issue with rebase is that as soon as you want a single other person to commit code to that branch, you can no longer rebase. Everything must be merged from that point on, otherwise the histories diverge and you wind up in rebase/merge hell.
The only alternative I've found is to over-communicate every push to your co-worker because it requires him to stash his changes, delete his local branch, pull down the "new" remote branch and re-apply his changes.
Re:Show HN: Why you should not use feature branches
by pxue on Friday April 19, 2019 @10:01AM
(#19699661)
use interactive rebase?
Re:Show HN: Why you should not use feature branches
by AstralStorm on Friday April 19, 2019 @07:56AM
(#19698775)
And you lose information about when given code was done. (Commit date and parent) Which is crucial to know if any given piece is stale in a bigger project. Stale code may be rotten code.
Why is a linear history better again? If you cannot read history graphs, perhaps you should really not use a VCS where merging happens.
This way, the git history is linear, clean and readable