Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (7 sloc) 262 Bytes
# Finds all Git clones in the given directories and
# upgrades them to the latest origin/master branch.
# Written in 2011 by Suraj N. Kurapati <>
find -L "$@" -name '*.git' -exec sh -xc 'cd "${0%/*}" && git pull' '{}' ';'
You can’t perform that action at this time.