Made a typo in your commit? Don’t delete and start over. Use Amend.
git commit --amend -m "Your corrected message"
Warning: Only use this for commits that haven’t been pushed to a shared repository yet!
Daily micro-tips for C#, SQL, performance, and scalable backend engineering.
Made a typo in your commit? Don’t delete and start over. Use Amend.
git commit --amend -m "Your corrected message"
Warning: Only use this for commits that haven’t been pushed to a shared repository yet!