Brad Rhoads
Brad Rhoads

Reputation: 1846

How To Import Tags Into Gitlab

I've just converted our repository from github to an internal gitlab. I started by getting a bare local repository and I have been able to get a new master into gitlab.

In my local repository, git tag shows a list of tags that I had on github. But none of the tags are showing up in gitlab.

I have GitLab 6.6.0.pre fe6c534.

So I how do I import my tags into gitlab?

Upvotes: 13

Views: 5317

Answers (1)

VonC
VonC

Reputation: 1327004

You should push those tags to your remote gitlab:

git push --tags

By default, git push pushed only commits, not tags.
(See "Push git commits & tags simultaneously" for more on that)

Upvotes: 20

Related Questions