Skip to content

Comment on Thou Shalt Not Lie: git rebase, ammend, squash, and other lies parent

Comments

That's an interesting response given that I spent quite a few words talking about how great `git blame`, `git bisect`, `git rerere`, and `git branch --contains` are and why rewriting history breaks them. Was it tl;dr? Or did I not get my point across effectively?

You didn't explain why rewriting local, private history breaks any of those things unless you keep your local, private branches around indefinitely in un-rewritten form. If I rebase, it replaces my previous branch, not extends it. `git rebase` only breaks bisection if you are using it incorrectly (on public commits).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.