Last active
August 29, 2015 14:04
-
-
Save FeliciousX/78003adb552699dda11e to your computer and use it in GitHub Desktop.
git tips and tricks :3
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
for remote in `git branch -r`; do git branch ${remote:7} --track $remote; done | |
git fetch --all | |
git pull --all |
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 branch branch_name | |
git push -u origin branch_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
${remote:7} is to omit the "origin/"