Skip to content

Instantly share code, notes, and snippets.

@niedzielski
Created December 26, 2017 20:32
Show Gist options
  • Save niedzielski/b074bbecbfebdc06f5d13e1a7f5f8a77 to your computer and use it in GitHub Desktop.
Save niedzielski/b074bbecbfebdc06f5d13e1a7f5f8a77 to your computer and use it in GitHub Desktop.
Wildcard Git pull.
for i in *; do git --work-tree="$i" --git-dir="$i/.git" pull; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment