DEV Community

Cover image for Instant merge conflict detection in VS Code
Agnieszka Stec for GitLive

Posted on

Instant merge conflict detection in VS Code

Would you like to know if your branch has conflicts before you go to merge it in? 💥
If so, check out our newest video or continue reading 👀

TLDR;


1️⃣ To get started, make sure you have the GitLive extension installed.

Image description

2️⃣ Now when you open a file from your repository you’ll see the changes from all other branches in the gutter of your editor.

Image description

3️⃣ You can roll over the affected lines to see the details of the change, the author and the branch the change is coming from, or even cherry-pick the changes into your version of the file.

Image description

4️⃣ And if you make a conflicting change in the same place you’ll get this bright red indicator instantly showing you the conflict!

Image description

Top comments (0)