Skip to content

Instantly share code, notes, and snippets.

@janniklorenz
Last active August 29, 2015 14:22
Show Gist options
  • Save janniklorenz/efcc8863f3b592c278bb to your computer and use it in GitHub Desktop.
Save janniklorenz/efcc8863f3b592c278bb to your computer and use it in GitHub Desktop.
Git pull in all subdirectories of the current directories.
for path in $(find . -maxdepth 1 -mindepth 1 -type d); do
git -C $path pull
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment