git 提交代码到github出错
高洛峰
高洛峰 2017-05-02 09:31:10
0
2
623

如图,在我指定远程主机之后,把本地的仓库push到github就抱如下的错误。请问这是怎么回事??求指导。。谢谢!!

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
某草草

Have you also written code in the remote warehouse? If so, firstgit pullgit push

过去多啦不再A梦

Looking at the prompts, it seems that the branch of the remote warehouse is newer than your local branch. You need to use the git pull command to pull down the code from the remote warehouse first, so that the local code can be updated before you can use git push to the remote warehouse. If there is a conflict, it needs to be resolved.
You can refer to this blog post:
Git usage-conflict resolution

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!