A

Admin • 802.91K Points
Coach

Q. Which command stages a file named 'file.txt'?

  • (A) git stage file.txt
  • (B) git commit file.txt
  • (C) git add file.txt
  • (D) git push file.txt
  • Correct Answer - Option(C)
  • Views: 3
  • Filed under category GitHub
  • Hashtags:

Explanation by: Admin
'git add file.txt' stages the file to be committed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.