From 0a56f6cd061ade06ca384daf6923fe4879e0bdab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=89=8A=E5=BE=AE=E5=AF=92?= <595666367@qq.com> Date: Sat, 26 Oct 2019 19:28:06 +0800 Subject: [PATCH] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index a8b6b1b..9d4e5e7 100644 --- a/README.md +++ b/README.md @@ -318,10 +318,8 @@ git tag -d ## 删除远程标签 -删除远程标签需要**先删除本地标签**,再执行下面的命令: - ```sh -git push origin :refs/tags/ +git push origin --delete tag ``` ## 切回到某个标签