Answer the question
In order to leave comments, you need to log in
Git add filename, but how to remove?
I’m not very good with git yet, the question is we add files with the git add command, but what if the wrong folder was accidentally added, and now they are in the tracked .. how to remove what was added through add?
So?git rm -r --cached dir/file
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question