I am using spacemacs
and often use the SPC p f
key binding to find files in a projectile
project. But even after removing a file from a git, SPC p f
will show me that deleted file.
I tried using SPC p I
to invalid the cache, but that didn't work.
How to resolve the problem?
C-h k SPC p l
? It should be bound toprojectile-invalidate-cache
. Also check ifM-x projectile-invalidate-cache
works.recentf
for sorting project files. In older Projectile version, even after you deleted the files, Projectile still reused the outdated file list fromrecentf
. In later Projectile version, clearing Projectile cache also cleans uprecentf
file list and removed the deleted files. You should update to latest Projectile and try again.