{"id":19938324,"url":"https://github.com/2kabhishek/gitrim","last_synced_at":"2025-09-19T09:32:44.105Z","repository":{"id":50191224,"uuid":"204523777","full_name":"2KAbhishek/gitrim","owner":"2KAbhishek","description":"Tool to trim accidentally pushed or obsolete files from git history. ✂💿","archived":false,"fork":false,"pushed_at":"2024-12-15T06:09:11.000Z","size":28,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-15T07:19:09.825Z","etag":null,"topics":["cleanup","developer-tools","git","git-history","obsolete-files","shell-script","utility"],"latest_commit_sha":null,"homepage":"https://2kabhishek.github.io/gitrim","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2KAbhishek.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},"funding":{"github":"2kabhishek"}},"created_at":"2019-08-26T17:10:38.000Z","updated_at":"2024-12-15T06:09:14.000Z","dependencies_parsed_at":"2024-12-15T07:18:24.728Z","dependency_job_id":"255483f2-1503-413e-b67c-05d07b9b5662","html_url":"https://github.com/2KAbhishek/gitrim","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/2KAbhishek%2Fgitrim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fgitrim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fgitrim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fgitrim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2KAbhishek","download_url":"https://codeload.github.com/2KAbhishek/gitrim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233562780,"owners_count":18694711,"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":["cleanup","developer-tools","git","git-history","obsolete-files","shell-script","utility"],"created_at":"2024-11-12T23:39:13.419Z","updated_at":"2025-09-19T09:32:38.818Z","avatar_url":"https://github.com/2KAbhishek.png","language":"Shell","funding_links":["https://github.com/sponsors/2kabhishek"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align = \"center\"\u003e\n\n\u003ch1\u003e\u003ca href=\"https://2kabhishek.github.io/gitrim\"\u003egitrim\u003c/a\u003e\u003c/h1\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/gitrim/blob/main/LICENSE\"\u003e\n\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/2kabhishek/gitrim?style=flat\u0026color=eee\u0026label=\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/gitrim/graphs/contributors\"\u003e\n\u003cimg alt=\"People\" src=\"https://img.shields.io/github/contributors/2kabhishek/gitrim?style=flat\u0026color=ffaaf2\u0026label=People\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/gitrim/stargazers\"\u003e\n\u003cimg alt=\"Stars\" src=\"https://img.shields.io/github/stars/2kabhishek/gitrim?style=flat\u0026color=98c379\u0026label=Stars\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/gitrim/network/members\"\u003e\n\u003cimg alt=\"Forks\" src=\"https://img.shields.io/github/forks/2kabhishek/gitrim?style=flat\u0026color=66a8e0\u0026label=Forks\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/gitrim/watchers\"\u003e\n\u003cimg alt=\"Watches\" src=\"https://img.shields.io/github/watchers/2kabhishek/gitrim?style=flat\u0026color=f5d08b\u0026label=Watches\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/gitrim/pulse\"\u003e\n\u003cimg alt=\"Last Updated\" src=\"https://img.shields.io/github/last-commit/2kabhishek/gitrim?style=flat\u0026color=e06c75\u0026label=\"\u003e \u003c/a\u003e\n\n\u003c/div\u003e\n\nTool to trim accidentally pushed or obsolete files from git history.\n\n## Installation\n\nClone this repo using:\n\n```bash\ngit clone https://github.com/2kabhishek/gitrim\ncd gitrim\n# Setup symlink, make sure target directory is added to PATH\nln -sfnv $PWD/gitrim.sh ~/Applications/bin\n```\n\n### Usage\n\nRun `gitrim` and you'll be asked to enter full path of the repo.\nAfter this you are presented a menu from where you can select the various commands to execute.\n\n### More Info\n\n[Blog Post](https://2kabhishek.blogspot.com/2019/08/trim-unnecessary-files-from-git-history.html) with some discussion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2kabhishek%2Fgitrim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2kabhishek%2Fgitrim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2kabhishek%2Fgitrim/lists"}