git推送到main分支

代码如下:

cd existing_repo
git remote add origin http://localhost:9015/dev-root/srzx-middleground-web.git
git branch -M main
git push -uf origin main

 

posted @ 2022-07-26 17:36  沾青先生  阅读(364)  评论(0编辑  收藏  举报