Skip to content

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

Comments

Core disconnect: what is source controls role: is it a journal of all history, or is it a tool to find code.

I fall on the tool side, which means I rebase & amend and keep history semantically organized, and such. All that makes it easy later to find exactly where I made XYZ change. BUT, I admit that it does ruin the journal aspect of every change. rebase -i does in fact change history, and can make things appear out of order.

I think it's ok, the author doesn't.

AboutSource Built by g1lg1l

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