logoalt Hacker News

tedmistonlast Tuesday at 9:44 PM1 replyview on HN

it's also very easy to rewrite commit history in a few seconds.


Replies

mmh0000last Tuesday at 9:52 PM

If I'm rewriting history ... why not just squash?

But also, rewriting history only works if you haven't pushed code and are working as a solo developer.

It doesn't work when the team is working on a feature in a branch and we need to be pushing to run and test deployment via pipelines.

show 1 reply