Is it necessary for the .git folder to be in the same folder group as the files it is tracking or can it be in a remote folder? I'd like to put it in my project settings folder but when I try that I can't get it to track the files in the web folder.
e.g. I have a project folder containing the .idea folder. I create the git repository here so I get a .git folder too. This puts my 'Project' under git and the files there turn brown.
In Project Settings | Version Control I set my *web* folder to be under Git. This all looks plausible and correct but my web folder resolutely stays untracked.
Yet if I create the repository in my web folder it tracks my web files, though not the Project files. It's as if the git function can't traverse to a different folder tree. Is this right?
Now I come to think about it, why do I even have to fill in that Project Settings | Version Control dialog? Is that just to inform PS so that it knows to ask if I want to add a file to git?
Thanks for any pointers!