git - source tree 代码冲突如何解决
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-02 09:21:23
0
3
767

推送到git hub上的代码修改过,和以前的版本不一致,source tree会出现代码冲突的提醒,怎么解决

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(3)
黄舟

When your sourcetree merge code conflicts, you cannot submit the code.
At this time, sourcetree will display merge conflicts. If you open your conflicting file, you will find that there are more things like this in it.
>>>>>>
---
<<<---
<<<
This contains your previous code and the code you pulled down. Check the following, and then delete the ones you don’t want.

If there is no ready-made example of merge conflict at hand, I will not take a screenshot. 🎜
我想大声告诉你

Please see my article address:
/a/1190000002951154

大家讲道理

The general process is that you first pull down the remote A branch, resolve the conflicts locally, and then submit to the remote A branch. That way the situation you mentioned won't happen.

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