Open utterances-bot opened 5 months ago
Sublime Merge (https://www.sublimemerge.com/) is a GUI tool that makes many of these operations very easy - squashing and re-ordering commits, amending, editing commit comments, etc. No need to remember the git commands. It also includes a good diff viewer.
Great tips! One more: before starting to edit the branch history, I like to make a copy: git checkout -b feat-backup. That way, if I mess something up, I still have a copy from before I started editing.
this is a nice one @joelnitta!!
Hack your way to a good Git history · Maëlle's R Blog
https://masalmon.eu/2024/06/11/rewrite-git-history/