Created
April 22, 2015 08:20
-
-
Save eniuz/853058dbb9d9b7f69e92 to your computer and use it in GitHub Desktop.
git useful commands
This file contains hidden or 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
# get list of HEADs | |
git reflog | |
# reset to the HEAD number | |
git reset --hard HEAD@{1} | |
# show stash contents | |
git stash show -p stash@{1} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment