Skip to content

Commit

Permalink
Document auto_init
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwynn committed Sep 28, 2012
1 parent a5414d2 commit b5db502
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion content/v3/repos.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ type

## Create

Create a new repository for the authenticated user. OAuth users must supply `repo` scope.
Create a new repository for the authenticated user. OAuth users must supply
`repo` scope.

POST /user/repos

Expand Down Expand Up @@ -101,6 +102,15 @@ team\_id
to this repository. This is only valid when creating a repo in an
organization.

auto\_init
: _Optional_ **boolean** - `true` to create an initial commit with empty
README. Default is `false`.

gitignore\_template
: _Optional_ **string** - Desired language or platform [.gitignore
template](https://github.com/github/gitignore) to
apply. _Ignored if `auto_init` parameter is not provided._

<%= json \
:name => "Hello-World",
:description => "This is your first repo",
Expand Down

0 comments on commit b5db502

Please sign in to comment.