git - Conflict occurs when hoxfix branch merges back to develop branch
迷茫
迷茫 2017-05-02 09:33:12
0
4
720

As shown above, we work on two branches: master and develop, among which the master branch is used to release stable versions.
Then I suddenly found a bug in version 1.2 that needed to be fixed urgently.
So I created a new branch hotfix and modified the code on it.
has been modified. Of course, I hope to merge the hotfix branch back to both the master and the develop branch.
However, when merging into master Everything is normal, but when merging into the develop branch, a conflict is displayed. It seems that the develop branch is ahead of master, and hoxfix is pulled from version 1.2 of master.

Please tell me the correct way to use hotfix. .

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(4)
phpcn_u1582

Yes, it’s okay if conflicts arise, just resolve them.

世界只因有你

The correct way to use it is to resolve conflicts when there are conflicts

曾经蜡笔没有小新

If master is normal, don’t worry about it. Just resolve the conflict on dev

世界只因有你

develop and hotfix modified a file at the same time

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