# Issues after git merge (conflicts)

**URL:** https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834
**Category:** General
**Created:** [17 October 2019 20:28 UTC](https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834 "2019-10-17T20:28:47Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Theos](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@Theos](https://discourse.nodered.org/u/Theos)
#### Post date: [17 October 2019 20:28 UTC](https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834/1 "2019-10-17T20:28:47Z")

</div>

After resolving merge conflicts, I encounter the issues below:

- Nodes get unwired

- Nodes get displaced in the flow.

Has anyone else countered this issue? Any idea on how to resolve this issue?

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [17 October 2019 20:52 UTC](https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834/2 "2019-10-17T20:52:40Z")

</div>

Hi @Theos

I assume you mean merging the conflicts in the editor itself?

What version of Node-RED are you using? There haven't been any similar reported issues in this area, so not a lot to go on.

---

<div class="post-metadata">

### Author: ![Theos](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@Theos](https://discourse.nodered.org/u/Theos)
#### Post date: [21 October 2019 15:03 UTC](https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834/3 "2019-10-21T15:03:50Z")

</div>

Hello @knolleary.

Thank you very much for replying. I found at that my team is using different version of node, npm, and node red.

I will standardize it and let you know if that fixed the issue.

Cheers.

---

<div class="post-metadata">

### Author: ![Theos](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@Theos](https://discourse.nodered.org/u/Theos)
#### Post date: [31 October 2019 13:19 UTC](https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834/4 "2019-10-31T13:19:26Z")

</div>

Hello @knolleary,

My team is using Node-RED version: v1.0.2 and Node.js version: v12.12.0. After having everyone use the same version of node red and node.js, this issue still persist.

Any insight will be very much appreciated.

Cheers.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [31 October 2019 13:31 UTC](https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834/5 "2019-10-31T13:31:34Z")

</div>

Can you provide some detailed steps to recreate the issue?

---

<div class="post-metadata">

### Author: ![Theos](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@Theos](https://discourse.nodered.org/u/Theos)
#### Post date: [31 October 2019 13:39 UTC](https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834/6 "2019-10-31T13:39:23Z")

</div>

There are the steps to re-create the issue:

1. Create a branch from master using git
2. Make code changes on the branch
3. Go to master and pull the latest code
4. Go to branch to merge master to the branch
5. If the merge results to code conflicts, resolve conflicts using node red UI interface.
6. After conflicts are resolved, there are nodes that lost its connection to other nodes.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [31 October 2019 13:51 UTC](https://discourse.nodered.org/t/issues-after-git-merge-conflicts/16834/7 "2019-10-31T13:51:42Z")

</div>

Unfortunately that is not detailed enough to recreate the issue.

It would really help if you could provide an example flow, a set of specific changes to make on the branch, what resolutions were made to the conflicts and highlight what is broken about the end result.
