Skip to content

Instantly share code, notes, and snippets.

@rockstarartist
Created June 3, 2016 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rockstarartist/ee8425f9ef6428898b5dc2722e43a19c to your computer and use it in GitHub Desktop.
Save rockstarartist/ee8425f9ef6428898b5dc2722e43a19c to your computer and use it in GitHub Desktop.
Helpful Git Commands
// You effed up your master branch, because you stupidly commited to it,
// and you need to reset it to the remote master:
git fetch origin
git reset --hard origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment