.
This commit is contained in:
16
sbin/GitPull
16
sbin/GitPull
@ -20,24 +20,12 @@ if [ $USER = root ]
|
|||||||
then
|
then
|
||||||
ZZ=/zz/*
|
ZZ=/zz/*
|
||||||
pull_repo
|
pull_repo
|
||||||
fi
|
else
|
||||||
|
|
||||||
#for i in `ls ${ZZ}`
|
|
||||||
#do
|
|
||||||
# echo $i
|
|
||||||
# if [ -d ${ZZ}/$i/.git ]
|
|
||||||
# then
|
|
||||||
# echo $i
|
|
||||||
# (cd ${ZZ}/$i; git pull; git checkout main; git pull )
|
|
||||||
# fi
|
|
||||||
#done
|
|
||||||
|
|
||||||
ZZ=~/git/private/z*
|
ZZ=~/git/private/z*
|
||||||
pull_repo
|
pull_repo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ZZ=~/git/public/z*
|
ZZ=~/git/public/z*
|
||||||
pull_repo
|
pull_repo
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user