S

Satya • 3.38K Points
Extraordinary

Q. What does the 'git add' command do?

  • (A) Commits changes to the repository
  • (B) Pushes code to GitHub
  • (C) Adds changes to the staging area
  • (D) Merges two branches
  • Correct Answer - Option(C)
  • Views: 19
  • Filed under category GitHub
  • Hashtags:

Explanation by: Satya
'git add' stages changes so they can be committed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.