1
0
mirror of synced 2025-12-26 05:02:55 -05:00
Files
docs/content/rest/reference/gitignore.md
2020-11-02 15:12:44 -06:00

774 B

title, redirect_from, versions
title redirect_from versions
Gitignore
/v3/gitignore
free-pro-team enterprise-server github-ae
* * *

When you create a new {% data variables.product.product_name %} repository via the API, you can specify a .gitignore template to apply to the repository upon creation. The .gitignore templates API lists and fetches templates from the {% data variables.product.product_name %} .gitignore repository.

Custom media types for gitignore

You can use this custom media type when getting a gitignore template.

application/vnd.github.VERSION.raw

For more information, see "Media types."

{% include rest_operations_at_current_path %}