Skip to content

Instantly share code, notes, and snippets.

@Funi1234
Last active May 12, 2016 15:57
Show Gist options
  • Save Funi1234/bf0ab1af06fce803c45ea80b1e2944eb to your computer and use it in GitHub Desktop.
Save Funi1234/bf0ab1af06fce803c45ea80b1e2944eb to your computer and use it in GitHub Desktop.
Iterate through directories and run git pull on all.
for d in */; do
pushd $d
git pull
popd
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment