How to setup a bare git local repository

Using TeamCity 7.1.4 I'd like to know if someone has succesfully setup a local git bare repository.
If the repository is non-bare everything is ok but if the repository is bare I receive the error
"Cannot find revision of the default branch 'master' of vcs root file.....etc. etc."


Thanks

2 comments
Comment actions Permalink

Hi Alessandro

I've re-tested this feature, and connected a bare repository successfully.
Could you please post a screenshot of your VCS root settings, and a file listing of your git repo directory.

Thanks

0
Comment actions Permalink

Sorry Michael, after changed from bare to non-bare and viceversa it worked. May be my fault.

Thanks for the quick answer.

0

Please sign in to leave a comment.