My git project is on a separate ext4 partition, which contains
lost+found directory.
It is deleted by git clean -d.
If I try to add it to git, it says
error: pathspec 'lost+found' did not match any file(s) known to git.
If I add it to .gitignore, it is deleted by git clean -X -d
So, how do I say git to leave it alone?
(None of the solutions in Git: Exclude a file with git clean works here)
 
    