Answer the question
In order to leave comments, you need to log in
What is the correct way to remove a folder from Git tracking?
Hello everyone, the question is the following, how to correctly remove a folder from being tracked?
I try the command git rm -r --cached obj
, but I get an error (see below)
The general folder structure is presented below
It turns out that I need to delete the .vs, bin and obj folders, but when they are deleted, the same error occurs (see above)
I tried to delete them from pc, then execute the command, the result did not change
Answer the question
In order to leave comments, you need to log in
Judging by your screenshot, you are in the .vs folder and apparently there really is no obj folder inside this folder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question