From 91399f1a1f670703b7a53cc3467b23ae21b4474c Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Thu, 30 Sep 2021 19:08:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4check=E4=B8=ADinit=20git?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/check.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/shell/check.sh b/shell/check.sh index 37747f76..8cd4fd90 100644 --- a/shell/check.sh +++ b/shell/check.sh @@ -105,20 +105,8 @@ check_pm2() { fi } -init_git() { - local dir_current=$(pwd) - - cd $dir_root - git config --global user.email "qinglong@@users.noreply.github.com" - git config --global user.name "qinglong" - git config --global pull.rebase true - - cd $dir_current -} - main() { echo -e "=====> 开始检测" - init_git copy_dep check_ql check_nginx