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
# ind . searches the current directory | |
# -type d to find directories, not files | |
# -depth 1 for a maximum depth of one sub-directory | |
# -exec {} \; runs a custom command for every find | |
# git --git-dir={}/.git --work-tree=$PWD/{} pull git pulls the individual directories | |
find . -maxdepth 1 -type d -exec git --git-dir={}/.git --work-tree=$PWD/{} pull \; |
NewerOlder