github / github/platform-samples
Pre recieve hook block credentials error
- Langage dominant
- Shell
- Étoiles
- 2.2k
- Forks
- 1.9k
- Merge moyen
- 7 j 19 h
- PR mergées (30 j)
- 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
```
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- devops, security
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100