日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學(xué)無先后,達(dá)者為師

網(wǎng)站首頁 編程語言 正文

git error: failed to push some refs to

作者:cxxx17 更新時間: 2022-04-12 編程語言
git push origin master

error: src refspec master does not match any.
error: failed to push some refs to ‘https://github.com/ChenX17/bdasr.git’

Git最近把master分支改名成了main,遠(yuǎn)程沒有master這個分支,可以新建一個master分支,再push到遠(yuǎn)程:

git checkout -b master
git push origin master

或者直接push到遠(yuǎn)程的main分支。

git push origin main

原文鏈接:https://blog.csdn.net/weixin_42262721/article/details/109691116

欄目分類
最近更新