dashboard
repositories
filestore
activity
search
login
main
/
Scripts
mirror of
https://github.com/Chizi123/Scripts.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
update mirrored repos
Joel Grunbaum
2021-07-13
3413cfb34e2f7ac770c4823b08fbc4d942ae62f7
[Scripts.git]
/
git-mirror-update.sh
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
#GIT_DIRECTORY=/Eduardo/git
GIT_DIRECTORY=/home/joel/Downloads/temp
for d in $GIT_DIRECTORY/*; do
if ! grep -q "mirror = true" $d/config; then
git -C $d remote update
fi
done