Not able to push code #2332

Closed
opened 2025-11-02 04:33:04 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @vbose1 on GitHub (Sep 14, 2018).

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Not able to push code when repository is created under organization. When I transfer repository on user then I can able to push.

error message as below

Pushing development
Remote: User permission denied
Error encountered while pushing to the remote repository: Git failed with a fatal error.
unable to access 'http://xxx.xxx.xxx.xxx:3000/xxxx/xxxxxxx.git/': The requested URL returned error: 403
...

Originally created by @vbose1 on GitHub (Sep 14, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [X] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [X] Not relevant - Log gist: ## Description Not able to push code when repository is created under organization. When I transfer repository on user then I can able to push. error message as below Pushing development Remote: User permission denied Error encountered while pushing to the remote repository: Git failed with a fatal error. unable to access 'http://xxx.xxx.xxx.xxx:3000/xxxx/xxxxxxx.git/': The requested URL returned error: 403 ...
GiteaMirror added the type/question label 2025-11-02 04:33:04 -06:00
Author
Owner

@lafriks commented on GitHub (Sep 14, 2018):

Does user has rights for that organization repository?

@lafriks commented on GitHub (Sep 14, 2018): Does user has rights for that organization repository?
Author
Owner

@vbose1 commented on GitHub (Sep 14, 2018):

Find the solution repository was created by default in Owner team. My team was different.

@vbose1 commented on GitHub (Sep 14, 2018): Find the solution repository was created by default in Owner team. My team was different.
Author
Owner

@vbose1 commented on GitHub (Sep 14, 2018):

@lafriks Can I delete Owner team?

@vbose1 commented on GitHub (Sep 14, 2018): @lafriks Can I delete Owner team?
Author
Owner

@lafriks commented on GitHub (Sep 14, 2018):

Owner team can not be deleted. You can add repository to multiple teams. In Team settings click link 0 repositories and add repository to that team.

@lafriks commented on GitHub (Sep 14, 2018): Owner team can not be deleted. You can add repository to multiple teams. In Team settings click link `0 repositories` and add repository to that team.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2332