解决error: failed to push some refs to 'XXXX'
程序员文章站
2022-04-04 11:13:33
...
当我提交的时候,遇到了这个问题
我先是查看了本地库的状态
git status
本地库是没有问题的
git add --all
再次查看一下状态
准备第二次提交
git commit -m"第二次提交"
与github仓库连接
git push -u origin master
注意不用把origin打错
输入账号与密码
然后就是你的代码可以遗臭万年了
上一篇: 解决SystemError: new style getargs format but argument is not a tuple
下一篇: 解决FutureWarning: The default value of gamma will change from 'auto' to 'scale' in version 0.22
推荐阅读
-
git push异常整理 error: failed to push some refs to
-
git push origin master 异常 error: failed to push some refs to ‘https://gitee.com/...
-
error: failed to push some refs to
-
Git push时报错 ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to......
-
git push 提交出现 failed to push some refs to
-
push时git报错 error: failed to push some refs to 'git@gitee.com:git_zn/jianli.git' 解决办法
-
Git push时报错 ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to......
-
git使用报错 ! [rejected] master -> master (fetch first) error: failed to push some refs to '略‘
-
解决error: failed to push some refs to 'XXXX'
-
git push 提交出现 failed to push some refs to