Bringing GitHub PR Merge Conflicts Into Vscode
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
git checkout master
- run
git merge <branch>
→ select a branch you want to merge intomaster
- now — you can deal with the merge hell from the git side-bar → Merge Changes
- make the changes with the help of codeLens
- commit changes → merged
Done + the PR disappears, too.