Add deploy key for empty repo #13378

Closed
opened 2025-11-02 10:40:31 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @t510599 on GitHub (Aug 8, 2024).

Feature Description

For empty repos, there are only few settings can be configured, where it does not contain "Deploy Keys" section.
圖片

It would only appear after first commit is pushed to the repo.
To push first commit from server without user ssh key, it has no way to add deploy keys at this time.
So it is force to use password to login, or create a redundant init commit from the frontend to make "Deploy Keys" section appears.

Screenshots

By contrast, GitHub allows user to add deploy keys to empty repo.
圖片

Originally created by @t510599 on GitHub (Aug 8, 2024). ### Feature Description For empty repos, there are only few settings can be configured, where it does not contain "Deploy Keys" section. ![圖片](https://github.com/user-attachments/assets/efdff816-6668-4c86-8d0d-a56dd0cab4f9) It would only appear after first commit is pushed to the repo. To push first commit from server without user ssh key, it has no way to add deploy keys at this time. So it is force to use password to login, or create a redundant init commit from the frontend to make "Deploy Keys" section appears. ### Screenshots By contrast, GitHub allows user to add deploy keys to empty repo. ![圖片](https://github.com/user-attachments/assets/b891078c-9d0c-4388-a899-d323c2c19857)
GiteaMirror added the proposal/acceptedtype/proposal labels 2025-11-02 10:40:31 -06:00
Author
Owner

@changchaishi commented on GitHub (Jan 2, 2025):

This is fixed in #32095

@changchaishi commented on GitHub (Jan 2, 2025): This is fixed in #32095
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13378