Skip to content

Instantly share code, notes, and snippets.

@Kevnz
Created December 6, 2017 22:44
Show Gist options
  • Save Kevnz/db590b4a249e11ab0a9db472b42399ab to your computer and use it in GitHub Desktop.
Save Kevnz/db590b4a249e11ab0a9db472b42399ab to your computer and use it in GitHub Desktop.
Pull latest for each repo in a parent folder
find . -maxdepth 1 -type d -exec sh -c '(cd {} && git pull)' ';'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment