A

Admin • 828.03K Points
Coach

Q. Which command compares two branches?

  • (A) git diff branch1 branch2
  • (B) git log branch1..branch2
  • (C) git compare branch1 branch2
  • (D) Both A and B
  • Correct Answer - Option(D)
  • Views: 1
  • Filed under category Git
  • Hashtags:

Explanation by: Admin
git diff compares content, git log compares commits.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.