سؤال

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?

هل كانت مفيدة؟

المحلول

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)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top