.
This commit is contained in:
@ -7,10 +7,10 @@ MYNAME=`uname -n`
|
|||||||
pull_repo () {
|
pull_repo () {
|
||||||
for i in `ls -d ${ZZ}`
|
for i in `ls -d ${ZZ}`
|
||||||
do
|
do
|
||||||
echo $i
|
echo "checking $i"
|
||||||
if [ -d $i/.git ]
|
if [ -d $i/.git ]
|
||||||
then
|
then
|
||||||
echo $i
|
echo "pulling $i"
|
||||||
(cd $i; git pull; git checkout main; git pull )
|
(cd $i; git pull; git checkout main; git pull )
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user