commit | author | age | ||
3413cf | 1 | #!/bin/bash |
JG | 2 | |
3 | #GIT_DIRECTORY=/Eduardo/git | |
4 | GIT_DIRECTORY=/home/joel/Downloads/temp | |
5 | ||
6 | for d in $GIT_DIRECTORY/*; do | |
7 | if ! grep -q "mirror = true" $d/config; then | |
8 | git -C $d remote update | |
9 | fi | |
10 | done |