Skip to content

Instantly share code, notes, and snippets.

@jacobgarcia
Created April 25, 2019 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobgarcia/bd464a6b8f718a33633d6ae378951176 to your computer and use it in GitHub Desktop.
Save jacobgarcia/bd464a6b8f718a33633d6ae378951176 to your computer and use it in GitHub Desktop.
Update multiple repos with one command
find . -maxdepth 3 -name .git -type d | rev | cut -c 6- | rev | xargs -I {} git -C {} pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment