Created
February 28, 2012 19:58
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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