Situation We have Git a repo with multiple top-level directories - gradle multiple module project.
Problem One dirrectory has a lot of files, and in my work I don't need them at all. I don't want them to be on my disk, I don't want my IDE scan them accidentally, and by the most part - I don't want them to slow down any git operations like pull and make me toss here and there conflicting changes (removal of this dir).
What will be the perfect situation I wish to exclude this dir from ANY awarness that it exists (locally). So I could know that it exists only by looking to remote. So I could not see it on disk, and pull/checokut/commit/merge/push and other Git operations would be just like we don't have this directory at all.
Comment I did try git ignore, didn't help.. Thanks in advance for solving my pain!