Feature Request: push to create repo #3942

Closed
opened 2025-11-02 05:31:18 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @ptman on GitHub (Sep 12, 2019).

Description

I saw someone complaining that you cannot create a new repo simply by pushing to where no repo exists like you can in GitLab. That sounds like a useful feature. What do you think about implementing it?

  1. https://gitea.local/myuser/repo doesn't exist
  2. git init
  3. git add .
  4. git commit
  5. git remote add origin ssh://git@gitea.local:2222/myuser/repo.git
  6. git push -u origin master
  7. https://gitea.local/myuser/repo exists!
Originally created by @ptman on GitHub (Sep 12, 2019). ## Description I saw someone complaining that you cannot create a new repo simply by pushing to where no repo exists like you can in GitLab. That sounds like a useful feature. What do you think about implementing it? 1. https://gitea.local/myuser/repo doesn't exist 2. git init 3. git add . 4. git commit 5. git remote add origin ssh://git@gitea.local:2222/myuser/repo.git 6. git push -u origin master 7. https://gitea.local/myuser/repo exists!
GiteaMirror added the type/featureissue/confirmed labels 2025-11-02 05:31:18 -06:00
Author
Owner

@lunny commented on GitHub (Sep 12, 2019):

I think there is already an issue to request that.

@lunny commented on GitHub (Sep 12, 2019): I think there is already an issue to request that.
Author
Owner

@ptman commented on GitHub (Sep 13, 2019):

@lunny great! where?

@ptman commented on GitHub (Sep 13, 2019): @lunny great! where?
Author
Owner

@stale[bot] commented on GitHub (Nov 12, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Nov 12, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@jolheiser commented on GitHub (Nov 12, 2019):

This is still a relevant feature request and has been drafted at #8419

@jolheiser commented on GitHub (Nov 12, 2019): This is still a relevant feature request and has been drafted at #8419
Author
Owner

@jolheiser commented on GitHub (Dec 15, 2019):

I forgot to link it with a comment, but this can be closed now that #8419 is merged.

@jolheiser commented on GitHub (Dec 15, 2019): I forgot to link it with a comment, but this can be closed now that #8419 is merged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3942