Return to Snippet

Revision: 54629
at January 5, 2012 08:09 by luizlopes


Initial Code
# find all .git directories and exec "git pull" on the parent.
find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git pull" \;

Initial URL

                                

Initial Description
A fast and easy way to go through all vim-pathogen bundles and perform a git pull on all of them.

Initial Title
Perform git pull on subdirectory (recursive)

Initial Tags
linux, find, update, git

Initial Language
Bash