metadata
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: '*'
topics:
- API
children:
- /gitignore
autogenerated: rest