I have an empty git directory I'd like to remove, however
"git rm -r NameOfDirectory" is returning "operation not permitted".
In addition, if I move a new file into this directory then do git status, git does not list it as a new untracked file, but it does if I move the file into another directory, so there's something strange about it.
How I can get rid of this directory?
git rm -r -f doesn't solve it.
sudoor get someone who has the necessary permissions to remove the directory for you.sudoor ask someone with the correct permissions.ls -lon the parent directory?