brewly — Ch.5 · This branch has conflicts
Exercise 5 of 6
Before you start
Conflicts in a pull request
The service cannot choose between two versions of a line. You solve it on your computer: merge origin/main into your branch, decide with the buttons, commit and push.
Between <<<<<<< and ======= is your branch (current). Between ======= and >>>>>>> is what comes from main (incoming).
- git fetch
- get the new commits
- git merge origin/main
- meet the conflict
- git status
- what is left to do?
- git add <file>
- mark it solved
- git commit
- finish the merge; keep the message
- git push
- update the pull request
You can reopen this any time with “Lesson”.
# BrewlyOrder coffee ahead.## Team- Maya (lead)- Alex (frontend)
Graph
- 89b6414 Raise the flat white priceHEAD → feature/flat-whiteorigin/feature/flat-white
- 1354d06 Add menu pageorigin/mainmain
- 619eb3b Style the order button
- 5fc44ac Initial commit