From 7d193990d02bc13ed7a0d99cde4e28cee153d112 Mon Sep 17 00:00:00 2001 From: monlor Date: Fri, 6 Mar 2020 12:00:01 +0800 Subject: [PATCH] 2020-03-06 12:00:01 --- tools/gitsync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gitsync.sh b/tools/gitsync.sh index 72a3fc3..678328b 100755 --- a/tools/gitsync.sh +++ b/tools/gitsync.sh @@ -124,9 +124,9 @@ deploy() { if git status &> /dev/null; then git add . git commit -m "$(TZ='Asia/Shanghai' date "+%Y-%m-%d %H:%M:%S")" -a + git push "$3" master:"$2" -f fi - git push "$3" master:"$2" -f - + } case $1 in