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