您的位置:首页 > 其它

git push:fatal the current branch master has no upstream branch

2016-08-13 00:12 776 查看
今天试git的时候最后一步 git本地仓库push远程仓库的时候,出了这个错:

fatal the current branch master has no upstream branch

解决方案 : 用如下命令提交

git push -u origin master


具体原因转向另一篇博客看:http://blog.csdn.net/kindle_code/article/details/52196511
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  branch git 解决方案
相关文章推荐