Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
pushGithub.sh 474 Bytes
Copy Edit Raw Blame History
Chopper711 authored 2021-07-30 09:04 . 推送github脚本更新
echo '开始推送github'
echo '切换git地址'
git remote rm origin
git remote add origin git@github.com:lilishop/lilishop.git
echo '设置上传代码分支,推送github'
git push --set-upstream origin master --force
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跟踪资源'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化