Skip to content

Instantly share code, notes, and snippets.

@xhacker
Created December 9, 2014 08:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xhacker/5c30c1e6bcea9d085a69 to your computer and use it in GitHub Desktop.
Save xhacker/5c30c1e6bcea9d085a69 to your computer and use it in GitHub Desktop.
Update Git repos in directory
find . ! -path . -maxdepth 1 -type d -exec sh -c '(cd {} && pwd && git pull)' ';'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment