Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
rm -rf deletes a file on the media.
git rm removes the file on media and as tracked from git.
There is also git rm --cached which does not delete the file on the media.
rm -rf / just works, and under root - no questions asked, quickly and efficiently.
git rm doesn't work as it should because it doesn't remove what we expect, but files from the project.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question