I have a file that is loitering in my git status saying it has been deleted, but when I try to git rm is, I get ***/***.php is outside repository. The folder it is in is certainly within the repo, so I am confused!
I have a file that is loitering in my git status saying it has
Share
That is strange. But perhaps you just need to commit your changes?
git statuslists changes that have been staged but not committed yet. If yougit commityour changes,git statusshouldn’t list the file as deleted anymore.