Interview Prep/Git & GitHub/Conflicts, remotes, fetch, pull and push

What do conflict markers look like and how do you resolve them?

BeginnerConceptConflicts, remotes, fetch, pull and push
Answer

Git writes <<<<<<< HEAD, ======= and >>>>>>> branch around the competing versions. Edit the file to the final intended content, remove the markers, stage it and continue the operation.

git status                # "both modified"
# edit the file
git add app.py
git merge --continue      # or rebase --continue
All Git & GitHub questions Roadmap: Git & GitHub

More on Conflicts, remotes, fetch, pull and push