Bringing GitHub PR Merge Conflicts Into Vscode

Pavol Kutaj
May 6, 2021

--

The aim of this explainerđź’ˇ is to get how to bring the merge conflicts from PR back into VSCode

1. steps/?

  • I encounter merge conflicts within Pull Requests
  • I want this to open as a git merge conflict in VSCode with the help of its codeLens — there is no “button” to do this in GitHub!
  • … and worse, not even in its PR extension, not in the GUI, just a tedious manual editor
  1. git checkout master
  2. run git merge <branch> → select a branch you want to merge into master
  3. now — you can deal with the merge hell from the git side-bar → Merge Changes
  4. make the changes with the help of codeLens
  5. commit changes → merged

Done + the PR disappears, too.

2. sources

--

--

No responses yet