Skip to content

Support 3 way merge for git conflicts #37350

Closed

Description

IntelliJ, and all other IntelliJ-based IDE such as WebStorm, support a git merge's conflict resolution tool that it shows the conflict in three columns:

  • the first column for Local Changes
  • the third column for Changes from Server
  • the second column for Conflict Resolution Result

Please see my attached file.
merge-conflict-resolution

I find that it's super easy for us to resolve conflict, because I can compare the Local Changes and the Server Changes on the same windows, and I can see the Resolution Result immediately.

Can we please support that?

Activity

  1. added
    merge-conflict
    on Oct 31, 2017
  2. added
    feature-request
    on Oct 31, 2017
  3. Auwalms commented on Jan 27, 2018

    @Auwalms

    This will be a super cool feature, I use VSCode for my day job but often resort to WebStorm when I need to resolve a merge conflict due to its interactivity and ease to use.

  4. Nodragem commented on Feb 2, 2018

    @Nodragem

    Any news on this? this feature would be amazing. On one hand, there is a diff tool (i.e. comparing two files) in VS code, but you cannot edit / chose what to keep; on the other hand, there is a merge conflict tool that allows to chose what to keep (current change / their change). Now, the best would be to have both tools into one tool, such as the tool suggested by uyhung.

    I also wanted to add, for any contributor who comes by: VS Code is an amazing piece of software, keep it up :) !

  5. uvaldez commented on Feb 26, 2018

    @uvaldez
  6. krzysztofwolski commented on Feb 27, 2018

    @krzysztofwolski
  7. millanbrankovic commented on Mar 21, 2018

    @millanbrankovic
  8. igocooper commented on Apr 11, 2018

    @igocooper
  9. VladimirTyalo commented on Apr 15, 2018

    @VladimirTyalo
  10. argordmel commented on Apr 16, 2018

    @argordmel
  11. OJFord commented on May 22, 2018

    @OJFord

    git config merge.conflictStyle diff3 and you have this today but with VSCode's in-editor layout - which is vastly better than popping up a dialogue and a new window to view the file you already had open IMO!

  12. VladislavAnkudinov commented on May 31, 2018

    @VladislavAnkudinov
  13. menvil commented on Jun 7, 2018

    @menvil
  14. 147 remaining items

  15. nemchik commented on Mar 25, 2022

    @nemchik

    Hassling contributors for ETAs isn't going to get it released faster. Please be appreciative that someone has taken the time to put their efforts into making this happen for us all.

  16. machinecode commented on Mar 26, 2022

    @machinecode

    Hi Isidor Nikolic (@isidorn), my guess is most of the people here expect a 3-way merge screen with a magic wand like Intellij had. Please consider having such that feature too.

  17. locked as spam and limited conversation to collaborators on Apr 13, 2022
  18. added and removed
    merge-conflict
    on Apr 13, 2022
  19. jrieken commented on Apr 13, 2022

    @jrieken
    Contributor

    Just repeating what Isidor Nikolic (@isidorn) said before: work has started and you can expect something "real" soon'ish, likely May.

    I have locked this issue because unfortunately unhelpful comments out-weight helpful ones. We have an idea what to do and everyone is invited to provide constructive feedback as soon as this land in insiders. We will be using this feature area label: merge-editor

    Thanks for being patient and stay tuned.

  20. hediet commented on Jul 29, 2022

    @hediet
    Member

    In the previous release we shipped the basic merge editor (release notes). In the release next week, we are going to enable it by default.
    Also, the next release includes CLI arguments to configure VS Code as merge tool.

    Please let us know what you think about the new merge editor, so we can continue improving it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestmerge-editorscmverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions