From f12d0d1be05dc9ec11caeceffa093e61c3ed4d5d Mon Sep 17 00:00:00 2001 From: Chopper Date: Mon, 24 May 2021 15:28:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8E=A8=E9=80=81=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pushGithub.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pushGithub.sh b/pushGithub.sh index 9fd82b973..2c82f3350 100644 --- a/pushGithub.sh +++ b/pushGithub.sh @@ -1,7 +1,15 @@ git remote rm origin + git remote add origin git@github.com:hongyehuicheng/lilishop.git + git push --set-upstream origin master + git remote rm origin + git remote add origin git@gitee.com:beijing_hongye_huicheng/lilishop.git + +sleep 1 + git branch --set-upstream-to=origin/master master + git pull