Skip to main content
  1. Learn center
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Git 命令和设置
  6. 标签命令
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

标签命令


显示标签列表

$ git tag

添加-n选项将显示每个标签上的注释。

创建标签

$ git tag <tagname>

请参考:

创建带有信息的标签

$ git tag -a <tagname>

删除标签

$ git tag -d <tagname>

请参考:

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life