Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Git manual amend
git reset HEAD~1
git add D
git commit --amend -m ‘add C and D files’
git add E
git commit -m ‘add E file’
git rebase --continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment