We have a Unity project with an existing git repository (.git folder) in its directory.
We'd like to use this project directory as Teamcity's working directory - we'd also like Teamcity's built-in VCS to use the existing existing .git folder, also recognizing what commit state it's currently in.
We specifically need the VCS to recognize the state of our existing repo so that it doesn't think that it needs to do a clean + clone, since our project's git repository is massive (north of 30 GB) and is pretty much impossible to clone from scratch. Indeed at this point I don't think even a shallow clone works.
Ideally, Teamcity's VCS should see the existing .git folder, know what commit it's on, and be able to work as usual (tracking changes, fetching, etc) from that commit.
So far, I haven't had any luck setting up the VCS to this end. Is there anything I should set up specifically?