Skip to content

Instantly share code, notes, and snippets.

@jberkel
Created March 5, 2010 16:51
Show Gist options
  • Select an option

  • Save jberkel/322907 to your computer and use it in GitHub Desktop.

Select an option

Save jberkel/322907 to your computer and use it in GitHub Desktop.
for i in *; do pushd .; echo $i; cd "$i" && ([ -d '.git' ] && git pull); popd; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment