Skip to content

Latest commit

聽

History

History
23 lines (20 loc) 路 885 Bytes

gitignore.md

File metadata and controls

23 lines (20 loc) 路 885 Bytes
title REST API endpoints for gitignore
shortTitle Gitignore
allowTitleToDifferFromFilename true
intro Use the REST API to get `.gitignore` templates that can be used to ignore files and directories.
versions
fpt ghec ghes
*
*
*
redirect_from
/rest/reference/gitignore
autogenerated rest
category
Manage repositories and code

About gitignore

When you create a new repository on {% data variables.product.github %} via the API, you can specify a .gitignore template to apply to the repository upon creation. You can use the REST API to get .gitignore templates from the {% data variables.product.github %} .gitignore repository.