【问题标题】:List all tags that contain a specific commit on remote server?列出远程服务器上包含特定提交的所有标签?
【发布时间】:2020-04-30 19:53:03
【问题描述】:

这个问题询问如何在本地 repo 上执行此操作:How to list all tags that contain a commit?

我想知道是否有一种方法可以在远程服务器上执行此操作而无需将标签提取到本地存储库。谢谢。

【问题讨论】:

标签: git


【解决方案1】:
git ls-remote --tags repo_url

你也可以在这里找到详细的解释,复制:How to see remote tags?

【讨论】:

  • 对不起,我意识到我的问题可能不是很清楚。我正在寻找一个命令来列出远程服务器上包含(特定)提交的所有标签。
猜你喜欢
  • 2011-12-16
  • 2021-03-15
  • 1970-01-01
  • 1970-01-01
  • 2011-05-31
  • 1970-01-01
  • 2022-11-20
  • 2014-09-11
  • 2015-03-30
相关资源
最近更新 更多