github / github/platform-samples

Pre recieve hook block credentials error

未关闭
#320 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
2.2k
派生
1.9k
平均合并
7 天 19 小时
30 天内合并 PR
1

描述

After upgrade to 2.20 on GHES, block credentials script throws error when deleting tags on remote server from a local client.
```
git push origin :refs/tags/new
remote: fatal: Invalid revision range 3b5bec62228f296578699964da63b73025357a6b..0000000000000000000000000000000000000000
```

贡献指南

打开贡献指南

调研方向

Locate the block credentials pre-receive hook and reproduce the failure with `git push origin :refs/tags/new` on the stated GHES version. Done means remote tag deletion no longer raises the invalid revision range error while credential blocking continues to work.

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
devops, security
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。