Skip to content

Instantly share code, notes, and snippets.

@chorn
Created February 28, 2012 19:58
Show Gist options
  • Save chorn/1934732 to your computer and use it in GitHub Desktop.
Save chorn/1934732 to your computer and use it in GitHub Desktop.
Update the git repos I have cloned in my .* directories, i.e. .vim/bundle
find $HOME/.* -maxdepth 5 -type d -name .git -not -path "*.rvm/*" | while read r ; do echo $r && cd "$r/../" && git pull -q ; done ; cd $HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment