Last active
August 29, 2015 14:06
-
-
Save simplay/ca45d17ac3ac285b0cec to your computer and use it in GitHub Desktop.
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
# reset local master | |
git fetch origin | |
git reset --hard origin/master | |
# show code diff of a COMMIT | |
git show COMMIT | |
# rabse last NUMBEROFCOMMITS commits (including head) | |
git rebase -i HEAD~NUMBEROFCOMMITS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment