{"id":19585286,"url":"https://github.com/slammayjammay/git-checkout-file","last_synced_at":"2026-05-04T10:32:10.822Z","repository":{"id":77271367,"uuid":"80682442","full_name":"slammayjammay/git-checkout-file","owner":"slammayjammay","description":"Checkout files in git providing a substring to match.","archived":false,"fork":false,"pushed_at":"2017-08-10T03:45:53.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T12:43:34.658Z","etag":null,"topics":["babel","es6","git","javascript","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"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/slammayjammay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-02-02T01:24:49.000Z","updated_at":"2017-02-02T01:35:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6db2d56-8795-4d9e-882e-eba45f4ac15d","html_url":"https://github.com/slammayjammay/git-checkout-file","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slammayjammay/git-checkout-file","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slammayjammay%2Fgit-checkout-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slammayjammay%2Fgit-checkout-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slammayjammay%2Fgit-checkout-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slammayjammay%2Fgit-checkout-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slammayjammay","download_url":"https://codeload.github.com/slammayjammay/git-checkout-file/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slammayjammay%2Fgit-checkout-file/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32603994,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"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":["babel","es6","git","javascript","nodejs"],"created_at":"2024-11-11T07:53:35.467Z","updated_at":"2026-05-04T10:32:10.791Z","avatar_url":"https://github.com/slammayjammay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `git-checkout-file`\n\n```sh\n$ npm install -g https://github.com/slammayjammay/git-checkout-file\n```\n\nI like to alias this with \"goof\"\n```sh\n# in your .bash_profile\nalias goof=\"git-checkout-file\"\n```\n\n# Usage\n\nGive a list of substrings to match files to. Matches are made case-insensitively. If any of them have uncommitted changes, those changes will be lost forever (dangerous!).\n```sh\n$ goof html # kills all changes in html files, for example\n$ goof readme # kills all changes in the README\n```\n\nIf you really messed up your repo and all uncommitted changes should be removed forever, you can do:\n```sh\n$ goof . # I personally use this all the time.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslammayjammay%2Fgit-checkout-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslammayjammay%2Fgit-checkout-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslammayjammay%2Fgit-checkout-file/lists"}