Created
June 3, 2016 01:59
-
-
Save rockstarartist/ee8425f9ef6428898b5dc2722e43a19c to your computer and use it in GitHub Desktop.
Helpful Git Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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