1
0
mirror of synced 2025-12-26 14:02:45 -05:00
Files
docs/content/rest/gitignore/gitignore.md

858 B

title, shortTitle, allowTitleToDifferFromFilename, intro, versions, topics, redirect_from, autogenerated
title shortTitle allowTitleToDifferFromFilename intro versions topics redirect_from autogenerated
REST API endpoints for gitignore Gitignore true Use the REST API to get `.gitignore` templates that can be used to ignore files and directories.
fpt ghec ghes
* * *
API
/rest/reference/gitignore
rest

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.