Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitb5db502

Browse files
committed
Document auto_init
1 parenta5414d2 commitb5db502

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎content/v3/repos.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ type
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
101102
to this repository. This is only valid when creating a repo in an
102103
organization.
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",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp