Tag Support

Git tags are pushed into StarTeam Server as view labels. Both Lightweight and annotated tags are pushed as labels. The labels are set as post commit view labels on newly created change package upon a successful push.

Any tag deleted in the local Git repository will not result in deleting the corresponding StarTeam label upon push. Deleting StarTeam labels is only supported through native StarTeam clients.

These labels are pulled in as Git tags during a clone/pull or push command from StarTeam.

For example:

git push --tags

Pushes the tags under refs/tags.

git push --follow-tags

Pushes all the refs as it would by default and in addition pushes the annotated tags in refs/tags.

git clone starteam://localhost:49201/GitProject 

Clones all StarTeam labels (pushed from Git) as tags into git repository.

git clone starteam://localhost:49201/GitProject  --no-tags .
git pull --no-tags
git fetch --no-tags

The option --no-tags can be used in clone/pull/fetch to disable automatic tag following.