git tag命令

Last updated on March 28, 2025 am

🧙 Questions

项目打tag的常用命令

☄️ Ideas

拉取标签
git checkout branch-3.3.4
BASH
查询标签
git tag -l "1.0*"
BASH
创建标签
# git tag 1.0.0
git tag ${tagName}
BASH
推送标签
# git push origin 1.0.0
git push origin ${tagName}
BASH
删除标签
# 删除本地标签
# git tag -d 1.0.0
git tag -d ${tagName}

# 删除远程标签
# git push origin -d 1.0.0
git push origin -d ${tagName}
BASH

git tag命令
https://ispong.isxcode.com/github/git/git 版本发布/
Author
ispong
Posted on
March 22, 2022
Licensed under