File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 5959
6060## Create
6161
62- Create a new repository for the authenticated user. OAuth users must supply ` repo ` scope.
62+ Create a new repository for the authenticated user. OAuth users must supply
63+ ` repo ` scope.
6364
6465 POST /user/repos
6566
@@ -101,6 +102,15 @@ team\_id
101102to this repository. This is only valid when creating a repo in an
102103organization.
103104
105+ auto\_ init
106+ : _ Optional_ ** boolean** - ` true ` to create an initial commit with empty
107+ README. Default is ` false ` .
108+
109+ gitignore\_ template
110+ : _ Optional_ ** string** - Desired language or platform [ .gitignore
111+ template] ( https://github.com/github/gitignore ) to
112+ apply. _ Ignored if ` auto_init ` parameter is not provided._
113+
104114<%= json \
105115 : name => "Hello-World",
106116 : description => "This is your first repo",
You can’t perform that action at this time.
0 commit comments