Mac: [remote rejected] main -> main (pre-receive hook declined) #13218

Closed
opened 2025-11-02 10:35:15 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @bwubta21122 on GitHub (Jun 29, 2024).

Description

Unable to push to gitea public instance.

git push -u origin main
Enumerating objects: 14, done.
Counting objects: 100% (14/14), done.
Delta compression using up to 8 threads
Compressing objects: 100% (14/14), done.
Writing objects: 100% (14/14), 2.39 KiB | 2.39 MiB/s, done.
Total 14 (delta 2), reused 0 (delta 0), pack-reused 0
remote:
remote: Gitea: User permission denied for writing.
To https://somegit.dev/<user>/<repo>.git
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://somegit.dev/<user>/<repo>.git'

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

OSX

How are you running Gitea?

I am not running it. It is a public instance of Gitea.

Database

None

Originally created by @bwubta21122 on GitHub (Jun 29, 2024). ### Description Unable to push to gitea public instance. ```zsh git push -u origin main Enumerating objects: 14, done. Counting objects: 100% (14/14), done. Delta compression using up to 8 threads Compressing objects: 100% (14/14), done. Writing objects: 100% (14/14), 2.39 KiB | 2.39 MiB/s, done. Total 14 (delta 2), reused 0 (delta 0), pack-reused 0 remote: remote: Gitea: User permission denied for writing. To https://somegit.dev/<user>/<repo>.git ! [remote rejected] main -> main (pre-receive hook declined) error: failed to push some refs to 'https://somegit.dev/<user>/<repo>.git' ``` ### Gitea Version latest ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System OSX ### How are you running Gitea? I am not running it. It is a public instance of Gitea. ### Database None
GiteaMirror added the type/bug label 2025-11-02 10:35:15 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13218