Skip to content

Instantly share code, notes, and snippets.

@ayazzali
Last active November 4, 2017 15:51
Show Gist options
  • Save ayazzali/84f66afdb9b5540e32a71439bbc0e0f9 to your computer and use it in GitHub Desktop.
Save ayazzali/84f66afdb9b5540e32a71439bbc0e0f9 to your computer and use it in GitHub Desktop.
git checkout -b "nameOfBranch"
git add .
git commit "my comment" -m
git commit -a --amend
git reset --soft HEAD^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment