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

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

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

如何解決:git push -u origin msster時(shí)出現(xiàn)error: failed to push some refs to?的問題

作者:g0314023 更新時(shí)間: 2022-04-12 編程語言

如何解決:git push -u origin msster時(shí)出現(xiàn)error: failed to push some refs to?的問題

出現(xiàn)錯(cuò)誤的原因是github中的README.md文件不在本地代碼目錄中。

也就是說我們需要先將遠(yuǎn)程代碼庫中的任何文件先pull到本地代碼庫中,才能push新的代碼到github代碼庫中。

使用如下命令:git pull?--rebase origin master

然后再進(jìn)行上傳: git push?-u origin master

原文鏈接:https://blog.csdn.net/g0314023/article/details/117122360

欄目分類
最近更新