github - git submission error
为情所困
为情所困 2017-05-02 09:36:13
0
3
727

1. The files were cloned from github to local
2. Some files were modified
3. git submitted, the error was reported as shown in the figure
Some people online said it was a submission conflict, but I just modified it locally

git pull --rebase
git push origin master
Another error is reported. It’s really confusing not to understand the principle

为情所困
为情所困

reply all(3)
大家讲道理

Thank you for the invitation. If a conflict occurs when executing git pull origin master, execute git push origin master after resolving the conflict. If there is no conflict, just execute git push origin master directly. Hope it helps you

習慣沉默

It seems that someone else has also submitted the code. Because the base point is different, your submission request has been rejected.

You can try to execute it firstgit pull --rebase,如果有冲突,解决冲突;再git pushTry it once

phpcn_u1582

In this case, the code in the git repository is usually updated, and your local code is not the latest and cannot be pushed. Just execute the git pul command

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template