Resolve Merge Conflict in Visual Studio Code

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • Got a merge Conflict after doing git pull or merge? Visual Studio Code can help you! Twice!
    There are mainly two different ways of handling conflicts on vscode, inline or three-way. I will show you both so you can decide which one you like the most!
    _______________________________
    Support my work: github.com/sponsors/Balastrong
    Hit like and subscribe for more content! :D
    Join the Discord community! Here's the invite: / discord
    You can also follow me on the other platforms:
    Twitter: / balastrong
    TikTok: / balastrong
    dev.to: dev.to/balastrong
    GitHub: github.com/Balastrong
    Instagram: / devbalastrong
    _______________________________
    TIMESTAMPS
    00:00 Two possible solutions
    00:29 Inline editor
    01:31 Inline editor - Advanced
    02:36 Three-way editor
    04:23 Three-way editor - Advanced
    05:02 Continue after a conflict
    05:37 Restart the merge
    06:02 Improve the UI
    _______________________________
    Sound effects from www.zapsplat.com
    #vscode #visualstudiocode #merge
  • НаукаНаука

Комментарии • 32

  • @DevLeonardo
    @DevLeonardo  11 месяцев назад +1

    Thanks for watching this video! My name is Leonardo and I talk about Web Development and Open Source. If you liked this video, check out my channel and Subscribe! See you in the next one ❤

  • @user-ol6tq5hw7s
    @user-ol6tq5hw7s Год назад +5

    Maan amazing video, you explain everything in detail and you help me so much, your channel deserve to have many more subs and and I wish you that, keep it up! Big greeting from Serbia! :)

    • @DevLeonardo
      @DevLeonardo  Год назад

      Thank you so much! ❤️
      Feel free to talk about the channel with your friends/colleagues, it would help me a lot! :)

  • @mathewshaker2240
    @mathewshaker2240 Год назад +4

    Awesome video. Very well put together. Thanks so much man

    • @DevLeonardo
      @DevLeonardo  Год назад

      Thank you so much for the kind words! And welcome to my channel :D

  • @randrescastaneda
    @randrescastaneda 7 месяцев назад +1

    Excellent explanation. Thanks.

  • @aaron10k
    @aaron10k Год назад +2

    Thank u bro. I have been avoiding resolving merge conflicts at my internship until this vid 😅

    • @DevLeonardo
      @DevLeonardo  Год назад +1

      You're no longer an intern now, you're able to solve merge conflicts... you have the power! 😂
      Glad this helped!

  • @LayronPK
    @LayronPK Год назад +2

    Man, that helped a lot! Thanks for the vid)

    • @DevLeonardo
      @DevLeonardo  Год назад +1

      Thanks, glad to hear it helped! I put a lot of effort in my content and it's great when people enjoy that ❤️
      Welcome to my channel :)

  • @fredwoolf5248
    @fredwoolf5248 7 месяцев назад +2

    Great explanation! You explain things very thoroughly.

    • @DevLeonardo
      @DevLeonardo  7 месяцев назад

      Hey Fred, thank you! :D

  • @landwand
    @landwand Год назад +2

    Amazingly clear; thanks!

    • @DevLeonardo
      @DevLeonardo  Год назад

      Thank you, glad it helped! I make a lot of tutorials and how-to videos, it's great to hear they're helping people :D

  • @bharathkalyans
    @bharathkalyans 10 месяцев назад +1

    Thanks man

  • @wallawallawilberforc
    @wallawallawilberforc Год назад +1

    Thank you!

    • @DevLeonardo
      @DevLeonardo  Год назад

      Thanks for watching and welcome to my channel! :)

  • @zohaibashraf3625
    @zohaibashraf3625 Год назад +2

    informative
    thanks buddy

    • @DevLeonardo
      @DevLeonardo  Год назад

      Thank you and welcome to my RUclips channel :D

    • @zohaibashraf3625
      @zohaibashraf3625 Год назад +1

      @@DevLeonardo keep going your way of teaching is amazing

    • @DevLeonardo
      @DevLeonardo  Год назад

      You're so kind, thanks! ❤️

  •  Месяц назад

    Thank you ever so much. Sort and useful.
    I do not have the instruction Git Abort Merge, I do have Git clone, Git merge, etc. Do you know if I need to install or activate anything else?
    Thank you in advance

  • @jaqb_007
    @jaqb_007 10 месяцев назад +2

    Helped me with that abort merge option, that i was looking in UI
    thanks

    • @DevLeonardo
      @DevLeonardo  10 месяцев назад

      That's great to hear! :D
      Yeah, knowing how to abort a merge can save you from a really bad situation!

  • @DevLeonardo
    @DevLeonardo  Год назад +1

    Which one do you like the most? Old inline UI or the new three-way editor?

    • @l0gic23
      @l0gic23 Год назад +1

      Inline ui is comfortable but I would try the new way to see if it works better in my workflow (once I code again)

    • @kenurizar2501
      @kenurizar2501 Год назад +1

      New to VS Code so liking the new 3-way editor

  • @erikanders90
    @erikanders90 5 месяцев назад

    Looks like it is not a 3 Way Merge. Currently I am looking for a 3 Way merge with Base,Version1,Version2 and Automerge like K3Diff but could not find anything so far for VSCODE.

  • @megasuperlexa2
    @megasuperlexa2 Год назад +2

    in a 3-way merge I should be able to see: base version, my changes, conflicting changes, result. 4 windows. Here, only 3 windows - wtf?

    • @DevLeonardo
      @DevLeonardo  Год назад +2

      Thanks for the comment! :)
      On the top-right corner of the merge editor there's the "3 dots button", if you click it you can open a menu where you can toggle if you want to see the base version or not.

  • @celvis4696
    @celvis4696 9 месяцев назад

    bro what the hell is Merge branch 'main' of this is pissing me off so badly