Skip to content

Instantly share code, notes, and snippets.

@mugan86
Created April 21, 2020 23:35
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save mugan86/9bcc9859d75975de4b94f14e2c917af0 to your computer and use it in GitHub Desktop.
Save mugan86/9bcc9859d75975de4b94f14e2c917af0 to your computer and use it in GitHub Desktop.
Descargar todas las ramas remotas a local
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