S

Satya • 2.41K Points
Master

Q. What is the difference between 'git merge' and 'git rebase'?

  • (A) No difference at all
  • (B) Merge creates a new commit; rebase rewrites history
  • (C) Merge deletes the branch
  • (D) Rebase removes old commits
  • Correct Answer - Option(B)
  • Views: 13
  • Filed under category GitHub
  • Hashtags:

Explanation by: Satya
Merge preserves history by creating a new commit; rebase rewrites history by moving commits.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.