0

我正在尝试通过执行以下操作来释放我稳定的私有库:

编辑 composer.json

"version": "1.0.0" => "version": "2.0.0"

提交消息“Release 2.0.0”和git tag 1.0.0 -m "Release 1.0.0"

但现在我正在查看我的回购并没有看到任何标签。我做错了什么?

4

2 回答 2

1

Use

git tag -l

To list the tags in your local repository.

Use

git ls-remote --tags [remote]

To list the remote --tags (ignore the leading refs/)

If you see the tag local but not remote you need to push it explicit by

git push [remote] [tag] 

or all tags by

git push --tags [remote]

Use

git show [tag]

To show details of the tag.

于 2013-01-07T17:47:53.263 回答
0

推送到公共回购时使用--tags密钥。git push

于 2013-01-07T16:38:04.360 回答