推送代码脚本 v1.0

This commit is contained in:
Chopper 2021-05-24 15:42:38 +08:00
parent 13ee4e859c
commit e21aa24f70

View File

@ -9,11 +9,10 @@ echo '推送github完成'
git remote rm origin
git remote add origin git@gitee.com:beijing_hongye_huicheng/lilishop.git
git pull origin master
echo '切回gitee资源'
git branch --set-upstream-to=origin/master master
echo '设置git跟踪资源'
sleep 1
echo '更新代码'
git pull remote master