Skip to content

Instantly share code, notes, and snippets.

@aseure
Created December 6, 2017 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aseure/8f99a41db90a328e25fd7103da410f8f to your computer and use it in GitHub Desktop.
Save aseure/8f99a41db90a328e25fd7103da410f8f to your computer and use it in GitHub Desktop.
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