Created
April 7, 2014 20:35
-
-
Save wzr1337/10047496 to your computer and use it in GitHub Desktop.
This script pulls all subdirectories
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
#! /bin/bash | |
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