Last active
October 12, 2021 23:50
-
-
Save berniefitz82/d7994f81ab1a6e64231229e2fc965c82 to your computer and use it in GitHub Desktop.
Common 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
git stash - to stash your work | |
git stash pop - to re-apply stashed changes | |
git stash apply - applies your stash to current branch and keeps changes in your stash (so you use on multiple branches) | |
git pull origin develop - merge develop into feature branch | |
git reset --hard HEAD~1 - if you've merged and want to roll back |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment