github / github/platform-samples

Pre recieve hook block credentials error

Open
#320 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
2.2k
Forks
1.9k
Avg merge
7d 19h
Merged PRs (30d)
1

Description

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
```

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
devops, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.