From c78aa480e39071c8d63c0138728662201058007a Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Fri, 2 Oct 2020 17:54:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=A0=87=E7=AD=BE.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- Software/Applications/Git/Git_使用说明.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Software/Applications/Git/Git_使用说明.md b/Software/Applications/Git/Git_使用说明.md index 45af97a..5ac03e7 100644 --- a/Software/Applications/Git/Git_使用说明.md +++ b/Software/Applications/Git/Git_使用说明.md @@ -285,6 +285,12 @@ git tag 创建一个轻量标签。 +使用 -d 参数删除标签: + +```bash +git -d +``` + 将本地 Tag 同步到远程的命令为: ```bash @@ -309,7 +315,7 @@ git fetch origin tag git push origin --delete tag ``` -如果谋远程Tab 已经删除,需要同步到本地,可使用以下命令: +如果谋远程 Tab 已经删除,需要同步到本地,可使用以下命令: ```bash git remote prune