Skip to content

Instantly share code, notes, and snippets.

@ryanirelan
Forked from dan/update_git_projects.sh
Created June 16, 2009 14:55
Show Gist options
  • Save ryanirelan/130719 to your computer and use it in GitHub Desktop.
Save ryanirelan/130719 to your computer and use it in GitHub Desktop.
#!/bin/sh
cd ~/work
for dir in `find . -type d -maxdepth 1 -mindepth 1`; do cd $dir; git pull origin master; cd -; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment