Alexis Määttä Vinkler
I'm a fly-fishing web developer, entrepreneur and sports freak! I help you, as a software professional, to excel with Git 🤓
Does amending a commit change its hash?
As all commits are immutable snapshots, any alterations to their content would change the hash. In more strict terms, amending a commit creates a new commit with the desired changes, leaving the original commit untouched. In this post I'll showcase a typical use-case illustrating this.