We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8045079 commit 8cad1a9Copy full SHA for 8cad1a9
gitea/repo.go
@@ -177,6 +177,8 @@ type CreateRepoOption struct {
177
License string `json:"license"`
178
// Readme of the repository to create
179
Readme string `json:"readme"`
180
+ // DefaultBranch of the repository (used when initializes and in template)
181
+ DefaultBranch string `json:"default_branch"`
182
}
183
184
// CreateRepo creates a repository for authenticated user.
0 commit comments