{"id":15520886,"url":"https://github.com/samedwardes/gitignore","last_synced_at":"2026-05-03T19:32:02.628Z","repository":{"id":152617311,"uuid":"623281503","full_name":"SamEdwardes/gitignore","owner":"SamEdwardes","description":"A CLI to create gitignore templates from https://github.com/github/gitignore","archived":false,"fork":false,"pushed_at":"2023-04-11T23:58:39.000Z","size":12,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T20:14:47.234Z","etag":null,"topics":["cli","git"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamEdwardes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-04T03:59:35.000Z","updated_at":"2023-04-12T00:00:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d4776d5-12db-405c-bdae-d3c8824d5dd8","html_url":"https://github.com/SamEdwardes/gitignore","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SamEdwardes/gitignore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamEdwardes%2Fgitignore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamEdwardes%2Fgitignore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamEdwardes%2Fgitignore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamEdwardes%2Fgitignore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamEdwardes","download_url":"https://codeload.github.com/SamEdwardes/gitignore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamEdwardes%2Fgitignore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32582545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","git"],"created_at":"2024-10-02T10:30:03.235Z","updated_at":"2026-05-03T19:32:02.611Z","avatar_url":"https://github.com/SamEdwardes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitignore\n\nA CLI for quickly generating .gitignore templates from GitHub's `.gitignore` repo \u003chttps://github.com/github/gitignore\u003e.\n\n## Install\n\nDownload your desired version from the GitHub releases page \u003chttps://github.com/SamEdwardes/gitignore/releases\u003e. Unpack the tarball and move to a location on your path. For example:\n\n```bash\n# M1 Mac\nwget -O gitignore.tgz https://github.com/SamEdwardes/gitignore/releases/download/v0.1.0-alpha/gitignore-0.1.0-alpha-aarch64-apple-darwin.tgz\ntar -xf gitignore.tgz\nmv gitignore \"$HOME/.local/bin/\"\n```\n\n## Usage\n\n```bash\nUsage:   gitignore \u003clanguage\u003e\nVersion: 0.1.0         \n\nDescription:\n\nGet .gitignore templates from GitHub's .gitignore templates repo (https://github.com/github/gitignore).\n\nOptions:\n\n-h, --help               - Show this help.                                                                                    \n-V, --version            - Show the version number for this program.                                                          \n-l, --list     [list]    - Show a list of available templates.                                                                \n-c, --commit   [commit]  - Use the .gitignore from a specific commit. If you are using the gitignore CLI in  (Default: \"main\")\n                           a pipeline you may want to set this value to ensure reproducibility.\n```\n\n## Examples\n\nCreate a new *.gitignore* for a Python project:\n\n```bash\ngitignore python \u003e .gitignore\n```\n\nAppend the *.gitignore* template for R to an existing .gitignore file:\n\n```bash\ngitignore r \u003e\u003e .gitignore\n```\n\nSee a list of available .gitignore templates:\n\n```bash\ngitignore --list\n```\n\nSearch for a specific template:\n\n```bash\ngitignore --list | grep rust\n```\n\nUse a .gitignore template from a specific commit from the https://github.com/github/gitignore repo. This is useful if you want to use `gitignore` in a CI/CD pipeline.\n\n```bash\ngitignore python --commit af7786b54d206f7101b128616df9e14341f52f96 \u003e .gitignore\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamedwardes%2Fgitignore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamedwardes%2Fgitignore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamedwardes%2Fgitignore/lists"}