|
1 2 3 4 5 |
#!/bin/bash pushd ~/Work for i in */.git; do ( echo $i; cd $i/..; git pull; git submodule update --recursive; ); done popd |
관련 글: git 특정 디렉토리 하에 있는 모든 폴더를 cleanup (submodule 까지), git cleanup 명령
|
1 2 3 4 5 |
#!/bin/bash pushd ~/Work for i in */.git; do ( echo $i; cd $i/..; git pull; git submodule update --recursive; ); done popd |
관련 글: git 특정 디렉토리 하에 있는 모든 폴더를 cleanup (submodule 까지), git cleanup 명령