Skip to content

Instantly share code, notes, and snippets.

@carlohcs
Created May 17, 2018 18:25
Show Gist options
  • Save carlohcs/ee9737bcbfe9ae4876c4d376cd19bb3b to your computer and use it in GitHub Desktop.
Save carlohcs/ee9737bcbfe9ae4876c4d376cd19bb3b to your computer and use it in GitHub Desktop.
Sincroniza branches remotas para local
# SINCRONIZA AS BRANCHES REMOTAS PARA LOCAL
for remote in `git branch -r `; do git branch --track $remote; done
git remote update
git pull --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment