A

Admin • 828.03K Points
Coach

Q. Which command removes a file from Git but keeps it locally?

  • (A) git rm
  • (B) git rm --cached
  • (C) git delete
  • (D) git remove --local
  • Correct Answer - Option(B)
  • Views: 1
  • Filed under category Git
  • Hashtags:

Explanation by: Admin
It removes the file from Git tracking only.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.