在vscode上提交代碼到GitHub上時,最后一步報錯
%?git push -u origin main ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
error: src refspec main does not match any
error: failed to push some refs to 'https://github.com......
試了生成個.ssh文件夾的什么文件,把文件內容添加到了GitHub后臺ssh,但是依然還是這個問題
不知道是哪里出的問題
2021-05-05
搞定了 最后一行使用的是 git push -f origin master 成功的