Skip to content

Instantly share code, notes, and snippets.

@johnstorm
Created May 31, 2012 17:25
Show Gist options
  • Save johnstorm/2844884 to your computer and use it in GitHub Desktop.
Save johnstorm/2844884 to your computer and use it in GitHub Desktop.
Github Pull Everything Script - You must be in the folder that contains all of the projects to be updated, ex: cd C:/Projects/
for file in *; do if [ -d $file ]; then cd $file; git pull; cd ..; fi done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment