Last active
September 10, 2019 13:29
-
-
Save faruktoptas/b47a7e6243cd7b71ac922aa759e3e5a8 to your computer and use it in GitHub Desktop.
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
#Switch to dev branch, pull it then come back to my current branch | |
current="$(git branch | grep \* | cut -d ' ' -f2)";git checkout dev;git pull origin dev;git checkout $current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment