Skip to content

Instantly share code, notes, and snippets.

@kenmazaika
Created December 29, 2010 15:37
Show Gist options
  • Save kenmazaika/758640 to your computer and use it in GitHub Desktop.
Save kenmazaika/758640 to your computer and use it in GitHub Desktop.
Non-Trivial Git Commands I occasionally use
Uncommit. Set the head of the branch to 1-head and stage the changes.
git reset --soft HEAD^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment