Push to origin/master was rejected的解决方法
1、右击要上传的文件

2、选择Show in Explorer

3、右击空白处

4、选择Git Bash Here

5、依次执行命令:
git pull origin master –allow-unrelated-histories
git push -u origin master -f
根据提示输入github用户名和密码登录github

6、刷新github页面,发现上传成功!

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:84
阅读量:121
阅读量:135
阅读量:142
阅读量:62