update multiple git projects
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.
Written by James Wolstenholme
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#