--- title: Gitignore intro: >- Use the REST API to get `.gitignore` templates that can be used to ignore files and directories. versions: fpt: '*' ghae: '*' ghec: '*' ghes: '*' topics: - API children: - /gitignore autogenerated: rest ---