Skip to content

Instantly share code, notes, and snippets.

@xhacker
Created December 9, 2014 08:21
Show Gist options
  • 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