Created
February 12, 2016 17:12
-
-
Save fabiobruna/ccad43c0ff1d2d95b766 to your computer and use it in GitHub Desktop.
Pull al git subdirs(not submodules) From http://stackoverflow.com/questions/3497123/run-git-pull-over-all-subdirectories
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 . -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment