git commit code to github error
高洛峰
高洛峰 2017-05-02 09:31:10
0
2
693

As shown in the picture, after I specify the remote host and push the local warehouse to github, I get the following error. What's going on? ? Ask for guidance. . Thanks! !

高洛峰
高洛峰

拥有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