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 ``` ## 切回到某个标签