Created
July 25, 2016 16:33
-
-
Save jbienkowski311/eb88e8c245934a320ca12de0f9b5920a 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
git commit --ammend # add commit to previous one | |
git stash # all staging files stash them for later use | |
git stash pop # reverse git stash | |
git stash list # list of all stashes | |
git reset/checkout -- filename | |
# move last commit to new branch | |
git checkout -b issue-xyz | |
git checkout develop | |
git reset --hard HEAD~1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment