Skip to content

Instantly share code, notes, and snippets.

@aseure
Created December 6, 2017 16:07
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
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