tpmwua
Last Updated: February 25, 2016
·
262
· jwolstenholme

update multiple git projects

git

We have a collection of git projects which are all peers in the file system. A handy way to update them all is to exec the following:

find . -depth 1 -type d -execdir git -C "{}" pull \;

This requires git > 1.8.5.