- Hey mate, looks like I made a typo in my last commit. How can I fix it without another commit?
- Fix a typo and then
git add .
git commit --amend
- Hey mate, I mentioned #24 insted of #42 in my last commit. How can I change it?
- Easily
git commit --amend -m "... #42 ..."