diff --git a/github/repos.go b/github/repos.go index 73e05f23fe1..8f34cf8b6d3 100644 --- a/github/repos.go +++ b/github/repos.go @@ -385,7 +385,8 @@ type TemplateRepoRequest struct { Owner *string `json:"owner,omitempty"` Description *string `json:"description,omitempty"` - Private *bool `json:"private,omitempty"` + IncludeAllBranches *bool `json:"include_all_branches,omitempty"` + Private *bool `json:"private,omitempty"` } // CreateFromTemplate generates a repository from a template.