Using a git tag as VCS ref name

I'm trying to have VCS root that instead of using a branch uses a tag to do a clone, but it doesn't allow me. I get this message on build.

'git fetch' command failed.
stderr: Remote does not have refs/heads/master. available for fetch.

is there a way to get this working?

1 comment
Comment actions Permalink

Hi Keivan,

support for tags added in TeamCity 6.5. To checkout tag use refs/tags/master. in the ref field of VCS root settings.


Please sign in to leave a comment.