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
build and deploy hugo site
Joel Grunbaum
2021-08-31
91849229d535bc15f7bc165afcf2c0f963db9909
[Scripts.git]
/
git-mirror-update.sh
1
2
3
4
5
6
7
8
9
#!/bin/bash
GIT_DIRECTORY=/Eduardo/git
for d in $GIT_DIRECTORY/*; do
if grep -q "mirror = true" $d/config; then
git -C "$d" remote update --prune
fi
done