Last Updated: February 25, 2016
·
1.598K
· jabbrwcky

Bulk updating of git projects

Need to refresh (pull) a larger number of git projects?

Simply execute this in your shell (fish):

for d in (ls); echo $d; cd $d; git pull; cd ..; end

Same in bash:

for d in $(ls); do echo $d; cd $d; git pull; cd ..; done