# REST API endpoints for gitignore

Use the REST API to get .gitignore templates that can be used to ignore files and directories.

## Links

* [REST API endpoints for gitignore](/en/enterprise-server@3.22/rest/gitignore/gitignore)

  Use the REST API to get .gitignore templates that can be used to ignore files and directories.