GET
/gitignore/templates/{name}Get a gitignore template
Retrieves the content of a gitignore template by name. The application/vnd.github.raw+json media type returns the raw .gitignore contents; the response object includes the template name and source.
namestringrequired
The name of the gitignore template to retrieve.
200Returns a gitignore template object containing its `name` and `source` content.
namestringrequired
sourcestringrequired
304Returned when the template has not changed since the last request.
Error handling
The name path parameter must match the name of an available gitignore template.