S

Satya • 2.31K Points
Master

Q. What does 'git pull origin main' do?

  • (A) Pushes changes to the origin main branch
  • (B) Clones the origin repository
  • (C) Fetches and merges the main branch from origin
  • (D) Deletes the origin repository
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category GitHub
  • Hashtags:

Explanation by: Satya
'git pull origin main' fetches and merges the main branch from the remote named origin.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.