DEV Community

Discussion on: Illustrated Notes on Fixing Git Mistakes

Collapse
 
kaddkaka profile image
kaddkaka

Amend is convenient when you want to change something in the lastest commit. If you want to modify earlier commits else you can do fixup-commits that you squash into the original, or do an interactive rebase and (e)dit the concerned commits.