Skip to content

Instantly share code, notes, and snippets.

@jensblond
Created February 4, 2016 14:56
Show Gist options
  • Save jensblond/425238053ad9e54eac3c to your computer and use it in GitHub Desktop.
Save jensblond/425238053ad9e54eac3c to your computer and use it in GitHub Desktop.
Pulls all repos in the subdirectories
find . -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} pull \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment