git报错

作者: 愤的小鸟怒 | 来源:发表于2019-02-16 17:03 被阅读0次

push代码的时候:error: src refspec master does not match any

解决办法:
使用git status 查看一下分支是否是你要提交的分支,不是的话转到分支下。
然后:
git add 要提交的文件
git commit -m "注释信息"
git push 提交代码到github仓库。

相关文章

网友评论

      本文标题:git报错

      本文链接:https://www.haomeiwen.com/subject/gqkieqtx.html