Recall & Review
beginner
What does merging do in Git?
Merging in Git combines changes from different branches into one, bringing together work done separately.
Click to reveal answer
beginner
Why is merging important when multiple people work on the same project?
Merging helps combine everyone's changes so the project stays up to date and no work is lost.
Click to reveal answer
intermediate
What happens if two branches change the same part of a file during a merge?
Git will show a conflict that needs to be fixed manually before finishing the merge.
Click to reveal answer
intermediate
How does Git know what changes to combine during a merge?
Git compares the common starting point of branches and applies the changes made on each branch.
Click to reveal answer
intermediate
What is a fast-forward merge?
A fast-forward merge happens when the branch being merged is ahead and can be added without creating a new merge commit.
Click to reveal answer
What does Git merging do?
✗ Incorrect
Merging combines changes from different branches into one.
What must you do if Git finds conflicting changes during a merge?
✗ Incorrect
Conflicts must be fixed manually before completing the merge.
When does a fast-forward merge happen?
✗ Incorrect
Fast-forward merge happens if the branch can be added directly without a merge commit.
Why is merging useful in teamwork?
✗ Incorrect
Merging helps combine work from different people so the project stays updated.
What does Git compare to merge changes?
✗ Incorrect
Git uses the common ancestor to understand what changes to combine.
Explain in your own words why merging is like combining pieces of a puzzle.
Think about how separate puzzle pieces come together to form a full picture.
You got /4 concepts.
Describe what happens when two people change the same file and then try to merge their work.
Imagine two friends writing different endings to the same story.
You got /4 concepts.