DEV Community

Cover image for Early Merge Conflict Detection Across All Branches In IntelliJ
Michael for GitLive

Posted on

Early Merge Conflict Detection Across All Branches In IntelliJ

We are happy to announce that GitLive's flagship feature, early merge conflict detection, now works across all branches in IntelliJ! ๐ŸŽ‰

When we first introduced real-time merge conflict detection, only the changes from each of your teammatesโ€™ current branch were shown in the gutter. This meant you could miss a merge conflict from changes in a branch that is not currently being worked on, for instance, changes from a PR waiting for review. Now the change indicators in the gutter of the editor show changes from all branches that contain changes compared to your current branch.

And, as before, and as long as you are not in offline mode, this includes the unpushed changes of your teammates that are also not in offline mode for real-time, instant merge conflict detection!

Image description

New gutter indicator filters

Previously you had a simple switch to show or hide the indicators you see in the gutter of the editor. Now, similar to the team window, you can filter the change indicators shown in the gutter of your editor by type.

Itโ€™s worth noting that these filters are independent of the team window filters, but when you change the team window filters the gutter indicator filters are automatically updated to match (but not vice versa). To open the gutter filters menu, right-click on the gutter and search for GitLive in the collapsible menu.

Image description

๐Ÿ”ธ Pushed Changes. Turning off pushed changes will hide the indicators coming from the pushed changes on other branches.
๐Ÿ”ธ Unpushed Changes. Turning off unpushed changes will hide the indicators coming from the unpushed changes of your teammates.
๐Ÿ”ธ Non-conflicting changes. On by default, turn off non-conflicting changes to only show conflicts in the gutter.
๐Ÿ”ธ Include stale changes. By default, changes from branches that have not been modified in 3 months are hidden, turn this on to show them.

๐Ÿ‘‰ Both pushed and unpushed changes are on by default, turn both off to hide the indicators completely

Thatโ€™s it for now, we would love to know what you think of these updates and how we can make GitLive better for you, so please reach out via the comments section below.


Don't have the GitLive extension installed yet? You can find it here, and if want to learn more about the latest release, check out this blog post.

Top comments (6)

Collapse
 
morrone_carlo profile image
Carlo Morrone

Been rooting for GitLive for a while now, great to see that you guys are going strong! ๐Ÿ‘

Collapse
 
itsmichael1 profile image
Michael

Thanks Carlo for your support!

Collapse
 
briannbates profile image
Brian Bates • Edited

Now the change indicators in the gutter of the editor show changes from all branches that contain changes compared to your current branch.
That's a great enhancement, will give it a go ๐Ÿ‘

Collapse
 
itsmichael1 profile image
Michael

Happy to hear that! Let me know if you have any questions!

Collapse
 
barbara66871045 profile image
Barbara Lavigne

Cool, thanks for sharing!

Collapse
 
itsmichael1 profile image
Michael

Thanks Barbara!