File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ The API is expected to be finalized in late 2011.
3232* ` master_branch ` becomes ` default_branch ` .
3333* ` integrate_branch ` on the [ repo API] ( /v3/repos/#get ) will no longer be
3434 returned.
35+ * Use the ` private ` attribute when creating a private repository,
36+ instead of setting ` public ` to false.
3537
3638## Breaking Beta Changes
3739
Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ description
5555homepage
5656: _ Optional_ ** string**
5757
58- public
59- : _ Optional_ ** boolean** - ` true ` to create a public repository, ` false `
60- to create a private one. Creating private repositories requires a paid
61- GitHub account.
58+ private
59+ : _ Optional_ ** boolean** - ` true ` to create a private repository, ` false `
60+ to create a public one. Creating private repositories requires a paid
61+ GitHub account. Default is ` false ` .
6262
6363has\_ issues
6464: _ Optional_ ** boolean** - ` true ` to enable issues for this repository,
@@ -81,7 +81,7 @@ organization.
8181 : name => "Hello-World",
8282 : description => "This is your first repo",
8383 : homepage => "https://github.com ",
84- : public => true ,
84+ : private => false ,
8585 : has_issues => true,
8686 : has_wiki => true,
8787 : has_downloads => true,
You can’t perform that action at this time.
0 commit comments