Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com> Co-authored-by: Grace Park <gracepark@github.com> Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com> Co-authored-by: Robert Sese <sese@github.com> Co-authored-by: Peter Bengtsson <peterbe@github.com> Co-authored-by: Rachael Sewell <rachmari@github.com>
7 lines
470 B
Markdown
7 lines
470 B
Markdown
Key | Type | Description
|
|
----|------|-------------
|
|
`ref`|`string` | The [`git ref`](/rest/reference/git#get-a-reference) resource.
|
|
`ref_type`|`string` | The type of Git ref object created in the repository. Can be either `branch` or `tag`.
|
|
`master_branch`|`string` | The name of the repository's default branch (usually {% ifversion fpt or ghes > 3.1 or ghae or ghec %}`main`{% else %}`master`{% endif %}).
|
|
`description`|`string` | The repository's current description.
|