From a4997228f70c9dde8f1ac7eddc5a780fb32b968a Mon Sep 17 00:00:00 2001 From: ggball <1667834841@qq.com> Date: Sun, 16 Jan 2022 01:19:09 +0800 Subject: [PATCH] =?UTF-8?q?ci=20=E6=8F=90=E4=BA=A4gitea=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- push-gitea.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/push-gitea.sh b/push-gitea.sh index e542d28..f0eb3c3 100644 --- a/push-gitea.sh +++ b/push-gitea.sh @@ -6,6 +6,6 @@ codingUrl="https://gitea.dongshanxia.top:35000/ggball/onemanager-java.git" git add . git commit -m "${msg}" -git remote add origin $codingUrl +git remote add gitea $codingUrl git show-ref -git push "https://gitea.dongshanxia.top:35000/ggball/onemanager-java.git" master --force # 推送 +git push gitea master --force # 推送