How do I remove a file from a git repositorie's index without removing the file from the working tree?
If I had a file ./notes.txt
that was being tracked by git, I could run git rm notes.txt
. But that would remove the file. I'd rather want git just to stop tracking the file.