# GET /gitignore/templates

**Resource:** [gitignore](../resources/gitignore.md)
**Get all gitignore templates**
**Operation ID:** `gitignore/get-all-templates`

List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/repos/repos#create-a-repository-for-the-authenticated-user).

## Responses

| Status | Description |
|--------|-------------|
| 200 | Response |
| 304 | (reference) |

