Explain it in 60 seconds
Rebase vs merge
Cloud & DevOps · Git and Version Control · Intermediate
What is the difference between rebasing and merging, and when would you use each?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Merge: preserves history, adds merge commit.
- Rebase: replays commits onto new base, linear history.
- Rebase rewrites commit hashes.
- Don't rebase shared branches.
- Team convention decides.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.