How To Resolve Merge Conflicts in Git - Knowledge Base by phoenixNAP
There are three ways to resolve a merge conflict in Git: 1. Accept the local version. To accept all changes on a file from the local version, run: git checkout --ours <file name>. Alternatively, to accept the local version for all conflicting files, use: git merge --strategy-option ours.