Skip to content

Commit ee3ef84

Browse files
author
gau1991
committed
Improved git command to hide warnging on screen
1 parent ac0b393 commit ee3ef84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,15 +396,15 @@ function ee_git_init()
396396
if [ ! -d /etc/nginx/.git ]; then
397397
git init &>> /dev/null
398398
fi
399-
git add .
399+
git add -A .
400400
git commit -am "Updated Nginx" > /dev/null
401401
fi
402402
# EasyEngine under git version control
403403
cd /etc/ee
404404
if [ ! -d /etc/ee/.git ]; then
405405
git init > /dev/null
406406
fi
407-
git add .
407+
git add -A .
408408
git commit -am "Installed/Updated to EasyEngine 3.x" &>> /dev/null
409409

410410
}

0 commit comments

Comments
 (0)