非强制上传模式下,要求HEAD游离且指向Tag

This commit is contained in:
2026-06-29 14:44:06 +08:00
parent 6b0f602e57
commit 0766d09e27
2 changed files with 33 additions and 28 deletions

View File

@@ -299,7 +299,7 @@ gitver setup=1 pid=5 repodir=E:\Code\MyProj
```
gitver upload username=<用户名> [file=<上传文件>] [info=<配置.txt>] [url=<PMC基址>]
gitver upload username=<用户名> # 需在分支上且 HEAD 指向 Tag
gitver upload username=<用户名> -f # 强制上传,忽略 Tag 校验
gitver upload username=<用户名> -f # 游离 HEAD 指向 Tag 时强制上传
gitver upload -f username=<用户名> [file=<上传文件>] # -f 位置任意
```