Created
May 6, 2016 04:09
-
-
Save abhishekdgeek/9c9c61206b44301481e36b00748fa6e2 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
https://training.github.com/kit/downloads/github-git-cheat-sheet.pdf | |
http://rogerdudler.github.io/git-guide/ | |
Fetch and Pull all remote branches. | |
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
git fetch --all | |
git pull --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment