Option to set default branch at repository creation (#10803)

* Option to set default branch at repository creation
* Handle template repos with non-default master branch
* Add DefaultBranch handling on creation to API

Fix #9542

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
zeripath authored and GitHub committed 2020-03-26 19:14:51 +00:00
1 parent b1c331c845
commit 52cfd2743c
10 files changed
+57 -33

No files matched your search

+1
View File
@@ -929,6 +929,7 @@ type CreateRepoOptions struct {
IssueLabels string
License string
Readme string
DefaultBranch string
IsPrivate bool
IsMirror bool
AutoInit bool