Merging and resolving merge conflicts#
Learning Objectives#
After working through this topic, you should be able to:
Merge feature branches into the
main
branchUnderstand why merge conflicts can happen
Explain the difference between the fast-forward and the recursive merge strategy
Fix merge conflicts
Materials#
For this topic we are building on the excellent YouTube playlist by NetNinja
Quiz#
Which steps are needed to fix a merge conflict?
Cards#
What are the correct commands to merge branch `a` into branch `b`?
Let's go through them step by step (click on next in the bottom right).
git checkout b
This moves the HEAD from the current branch to branch `b`.
Next >