Skip to content

Instantly share code, notes, and snippets.

@chris-piekarski
Last active May 28, 2019 16:24
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 chris-piekarski/437194a4be842ab78626bf9ee111ba59 to your computer and use it in GitHub Desktop.
Save chris-piekarski/437194a4be842ab78626bf9ee111ba59 to your computer and use it in GitHub Desktop.
Git Pull Multiple Subdirectory Repos
find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && git pull" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment