VS Code Git and Productivity/Use merge conflict actions

Accept current, incoming, or both changes inline.

Section: Compare and Merge Conflicts

Use merge conflict actions

text
text
Open conflicted file and use the conflict action buttons in the editor

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Compare and Merge Conflicts
Open Timeline view
See file history and source control timeline.
OpenIn sheettextsame section
Select for compare / compare with selected
Compare arbitrary files in the explorer.
OpenIn sheettextsame section
Clone repository
Clone via built-in Git command.
OpenIn sheettext1 tag match
Open file diff from Source Control
Review changed files directly in diff view.
OpenIn sheettext1 tag match
Stage selected ranges
Stage only part of a file from the diff editor.
OpenIn sheettext1 tag match
Sync changes
Pull and push using the status bar sync action.
OpenIn sheettext1 tag match