Resolve merge conflicts in the working tree. Use when there are conflict markers in files after a merge or rebase.
git status to list all files with conflicts<<<<<<<, =======, >>>>>>> conflict markers
b. Understand what each side (HEAD vs incoming) is trying to accomplish
c. Resolve the conflict by combining or choosing the correct version
d. Remove all conflict markersgit add <files> to mark them resolvedgit rebase --continue; if in a merge, run git commitgit diff --check)git checkout --theirs or --ours as a blanket solution — resolve each conflict thoughtfully