-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
push fail (pre-receive hook declined) #1685
Comments
Just ran into the same issue with a branch that also contains '/' in its name. |
Also getting this, my target branch is just |
@silverwind maybe your problem is not the same as this issue. |
After upgrading from 1.1.0 to 1.2.0-rc1 I start getting such errors. After Taking a look at pre-receive.log I found one interesting thing: Is there a place in conf files where I can configure the link? P.S. [server] |
Sorry for flood.. managed to fix it by set DOMAIN = localhost ... Not sure that this is correct way ... but it works |
@davydov-vyacheslav it could also be fixed by changing |
@lafriks , thank you! |
[x]
):Description
when
git push origin :refs/heads/feature/<xxx>
(deleting branch), push fail! [remote rejected] feature/<xxx> (pre-receive hook declined)
/data/gitea/log/hooks/pre-receive.log
[...io/gitea/cmd/hook.go:126 runHookPreReceive()] [F] retrieve protected branches information failed
rollback to image/version v1.1.1 will work
also change default branch and set protected branch is not work, even in v1.1.1, not sure is it same reason
The text was updated successfully, but these errors were encountered: