3.2 KiB
3.2 KiB
EditRepoOption
Properties
Name | Type | Description | Notes |
---|---|---|---|
AllowMergeCommits | bool | either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. `has_pull_requests` must be `true`. | [optional] [default to null] |
AllowRebase | bool | either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. `has_pull_requests` must be `true`. | [optional] [default to null] |
AllowRebaseExplicit | bool | either `true` to allow rebase with explicit merge commits (--no-ff), or `false` to prevent rebase with explicit merge commits. `has_pull_requests` must be `true`. | [optional] [default to null] |
AllowSquashMerge | bool | either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. `has_pull_requests` must be `true`. | [optional] [default to null] |
Archived | bool | set to `true` to archive this repository. | [optional] [default to null] |
DefaultBranch | string | sets the default branch for this repository. | [optional] [default to null] |
Description | string | a short description of the repository. | [optional] [default to null] |
ExternalTracker | *ExternalTracker | [optional] [default to null] | |
ExternalWiki | *ExternalWiki | [optional] [default to null] | |
HasIssues | bool | either `true` to enable issues for this repository or `false` to disable them. | [optional] [default to null] |
HasPullRequests | bool | either `true` to allow pull requests, or `false` to prevent pull request. | [optional] [default to null] |
HasWiki | bool | either `true` to enable the wiki for this repository or `false` to disable it. | [optional] [default to null] |
IgnoreWhitespaceConflicts | bool | either `true` to ignore whitespace for conflicts, or `false` to not ignore whitespace. `has_pull_requests` must be `true`. | [optional] [default to null] |
InternalTracker | *InternalTracker | [optional] [default to null] | |
Name | string | name of the repository | [optional] [default to null] |
Private | bool | either `true` to make the repository private or `false` to make it public. Note: you will get a 422 error if the organization restricts changing repository visibility to organization owners and a non-owner tries to change the value of private. | [optional] [default to null] |
Template | bool | either `true` to make this repository a template or `false` to make it a normal repository | [optional] [default to null] |
Website | string | a URL with more information about the repository. | [optional] [default to null] |