testing..
This commit is contained in:
parent
1b991cc7f0
commit
aac1c3832c
1 changed files with 7 additions and 2 deletions
|
@ -13,13 +13,18 @@ white='\033[37m'
|
|||
for gitrepo in `find ./ -maxdepth 4 -type d -name ".git" | sed 's/\/.git\+$//'`;
|
||||
do
|
||||
cd $gitrepo
|
||||
echo $gitrepo
|
||||
if [ -e do_not_auto_check ]; then
|
||||
cd - > /dev/null
|
||||
continue
|
||||
fi;
|
||||
|
||||
echo $gitrepo
|
||||
|
||||
git status
|
||||
git pull 2>/dev/null
|
||||
#echo $A | grep "working directory clean"
|
||||
#if [ $? -eq 1 ]; then
|
||||
git pull 2>/dev/null
|
||||
#fi;
|
||||
|
||||
#RESULT=`git pull 2>/dev/null`
|
||||
#if [ !`echo $RESULT | grep "up to date"` ]; then
|
||||
|
|
Loading…
Reference in a new issue