Created
April 9, 2018 06:37
-
-
Save tovin07/d783bde01544c05b302583e10b96b022 to your computer and use it in GitHub Desktop.
Git pull all master branch
This file contains hidden or 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 . -mindepth 1 -maxdepth 1 -type d -exec git --git-dir={}/.git --work-tree=$PWD/{} checkout master \; | |
find . -mindepth 1 -maxdepth 1 -type d -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