From 2873f4d5288898edbdeb834980503e50f602e5f1 Mon Sep 17 00:00:00 2001 From: Supper Thomas <78900636@qq.com> Date: Mon, 24 Nov 2025 20:50:02 +0800 Subject: [PATCH] git tag remove --- source/WIKI_FAQ/06_git_flow/git_flow.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/source/WIKI_FAQ/06_git_flow/git_flow.md b/source/WIKI_FAQ/06_git_flow/git_flow.md index cfd65ae..84bd557 100644 --- a/source/WIKI_FAQ/06_git_flow/git_flow.md +++ b/source/WIKI_FAQ/06_git_flow/git_flow.md @@ -288,5 +288,15 @@ Hotfix 分支,Bug-fix,完成后删除 [Git及GitHub教程](https://www.githubs.cn/post/git-tutorial) - +### GIT 如何删除remote中所有tag + + +``` + git show-ref --tag | awk '{print ":" $2}' | xargs git push mist-modules +``` +删除本地所有tag +``` +git tag -l | xargs git tag -d +``` +