{"id":13476733,"url":"https://github.com/toptal/gitignore","last_synced_at":"2025-03-12T00:34:14.930Z","repository":{"id":39097518,"uuid":"82869109","full_name":"toptal/gitignore","owner":"toptal","description":"The largest collection of useful .gitignore templates","archived":false,"fork":false,"pushed_at":"2024-08-07T21:19:04.000Z","size":845,"stargazers_count":1730,"open_issues_count":52,"forks_count":510,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-01-18T10:30:11.547Z","etag":null,"topics":["gitignore","gitignore-templates","ignore-templates"],"latest_commit_sha":null,"homepage":"https://www.gitignore.io","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toptal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-23T01:10:22.000Z","updated_at":"2025-01-17T12:16:18.000Z","dependencies_parsed_at":"2023-02-11T09:15:52.369Z","dependency_job_id":"8018ac4d-a2b6-4718-b7db-330e73cc271c","html_url":"https://github.com/toptal/gitignore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toptal%2Fgitignore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toptal%2Fgitignore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toptal%2Fgitignore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toptal%2Fgitignore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toptal","download_url":"https://codeload.github.com/toptal/gitignore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243136272,"owners_count":20241988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gitignore","gitignore-templates","ignore-templates"],"created_at":"2024-07-31T16:01:33.938Z","updated_at":"2025-03-12T00:34:14.901Z","avatar_url":"https://github.com/toptal.png","language":null,"funding_links":[],"categories":["Others","miscellaneous","others"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.gitignore.io\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/toptal/gitignore/master/.github/gitignore-templates.svg\" /\u003e\n    \u003c/a\u003e\n    \u003cbr\u003e\n    \u003csmall\u003eThe largest collection of useful \u003ccode\u003e.gitignore\u003c/code\u003e templates\u003c/small\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/toptal/gitignore/tree/master/templates\"\u003e\u003cimg src=\"https://img.shields.io/badge/Templates-500%2B-FF5722.svg?longCache=true\u0026style=flat-square\" alt=\"template count\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://travis-ci.com/toptal/gitignore\"\u003e\u003cimg src=\"https://img.shields.io/travis/toptal/gitignore/master?longCache=true\u0026style=flat-square\" alt=\"build status\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/toptal/gitignore/blob/master/LICENSE.md\"\u003e\u003cimg src=\"https://img.shields.io/github/license/toptal/gitignore.svg?longCache=true\u0026style=flat-square\" alt=\"license\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\nThis project is also the canonical repository where [https://www.gitignore.io](https://www.gitignore.io) template list comes from.  Here are the reasons behind the need for this repository: https://blog.joeblau.com/gitignore-io-template-fork\n\n## Testing\n\nThis testing process ensures that [https://www.gitignore.io](https://www.gitignore.io) template list contains all of the changes from GitHub's template list.  The CI system will automatically listen to commits from GitHub and merge any changes.\n\n1. Pre-requisites\n\n```sh\npip install moban\n```\n\n2. Sync repository with [GitHub](https://github.com/github/gitignore) and copy templates\n\n```sh\n./.github/scripts/sync-github.sh\nmoban\n```\n\n3. Make sure you don't commit files with blank lines or missing EOF line\n\n```sh\n./.github/scripts/check-whitespace.sh\n```\n\n## Files\n\nThere are four file types that gitignore.io recognizes\n\n\n1. Templates\n\n\tA `.gitignore` file is the foundation of all templates.  Each `.gitignore` file contains gitignore information related to the title of the file.  For example, `Go.gitignore` contains a gitignore template that is used when creating a project using [the Go programming language](https://golang.org).\n\n\t\u003cp align=\"center\"\u003e\n\t\t\u003cimg src=\"https://raw.githubusercontent.com/toptal/gitignore/master/.github/gitignore.svg\" /\u003e\n\t\u003c/p\u003e\n\n2. Patch\n\n\tA `.patch` is a file to extend the functionality of a template.  The source for some of the template files on [toptal/gitignore](https://github.com/toptal/gitignore) come from [github/gitignore](https://github.com/github/gitignore).  GitHub maintains strict [contributing guidelines](https://github.com/github/gitignore#contributing-guidelines) and the `.patch` file allows anyone to extend any of the templates to add extra template rules\n\n\t\u003cp align=\"center\"\u003e\n\t\t\u003cimg src=\"https://raw.githubusercontent.com/toptal/gitignore/master/.github/patch.svg\" /\u003e\n\t\u003c/p\u003e\n\n3. Stack\n\n\tA `.stack` is a file that allows for the creation of code stacks (LAMP, MEAN, React Native).  In today's development environment a `.gitignore` file is usually comprised of multiple technologies.  A stack creates an elegant way to keep the stack up to date with child dependencies.\n\n\t\u003cp align=\"center\"\u003e\n\t\t\u003cimg src=\"https://raw.githubusercontent.com/toptal/gitignore/master/.github/stack.svg\" /\u003e\n\t\u003c/p\u003e\n\n4. Order\n\n\tThe `order` file simply ensure that if certain templates are requested, the order in which the templates are loaded is maintained.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoptal%2Fgitignore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoptal%2Fgitignore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoptal%2Fgitignore/lists"}