{"id":16963503,"url":"https://github.com/lzap/git-xcleaner","last_synced_at":"2025-09-20T17:33:14.938Z","repository":{"id":18927206,"uuid":"22146479","full_name":"lzap/git-xcleaner","owner":"lzap","description":"TUI utility for fast git topic branch cleanup","archived":false,"fork":false,"pushed_at":"2024-04-30T15:12:42.000Z","size":57,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-30T09:23:30.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lzap.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":"2014-07-23T12:35:38.000Z","updated_at":"2024-06-17T16:40:21.000Z","dependencies_parsed_at":"2024-10-28T13:21:41.566Z","dependency_job_id":"bf0acec5-32db-4e5b-a338-72b9ea3ca237","html_url":"https://github.com/lzap/git-xcleaner","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzap%2Fgit-xcleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzap%2Fgit-xcleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzap%2Fgit-xcleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzap%2Fgit-xcleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lzap","download_url":"https://codeload.github.com/lzap/git-xcleaner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233679487,"owners_count":18713092,"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":[],"created_at":"2024-10-13T23:25:07.378Z","updated_at":"2025-09-20T17:33:14.931Z","avatar_url":"https://github.com/lzap.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"git-xcleaner\n============\n\nTUI utility for interactive and fast git topic branch cleanup. Upstream site\nat https://github.com/lzap/git-xcleaner\n\n![Main menu](https://raw.githubusercontent.com/lzap/git-xcleaner/master/screenshots/01_main_menu.png)\n\n![Selection](https://raw.githubusercontent.com/lzap/git-xcleaner/master/screenshots/02_select.png)\n\n[![Short demonstration](http://img.youtube.com/vi/nKIRFqD02nQ/0.jpg)](https://www.youtube.com/watch?v=nKIRFqD02nQ)\n\nRequirements\n------------\n\n* bash\n* whiptail\n* resize\n\nUsage\n-----\n\nInstall package or drop git-xcleaner on your path and\n\n    $ git xcleaner\n\nI *DO NOT* recommend running garbage collection after cleanup, this can wipe\nmis-deleted branches:\n\n    $ git gc\n\nIf you want to do this, do it *prior* running cleaning, so you are still able\nto recover after few weeks.\n\nAlso, it is a good idea to prune branches prior cleaning:\n\n    $ git fetch --prune\n\nInstallation\n------------\n\nOn Fedora do `yum install git-xcleaner`, on other distros do this:\n\n    TARGET=/usr/local/bin/git-xcleaner\n    curl https://raw.githubusercontent.com/lzap/git-xcleaner/master/git-xcleaner \u003e $TARGET\n    chmod +x $TARGET\n\nDocumentation\n-------------\n\nSee the [manual page](man/git-xcleaner.md).\n\nHow to undelete\n---------------\n\nIf you mis-deleted a branch and ignored all the warnings in documentation and\non the screen, check out this file which contains all the deleted branch names\nand commit shas:\n\n    $ cat ~/.git-xcleaner.log\n    Deleted branch feature_42 (was d82f87f).\n    Deleted branch feature_21 (was 796b718).\n\nNow you know the sha, if you haven't run git garbage collection, you can still\nrestore the branch with:\n\n    $ git checkout d82f87f\n    $ git checkout -b restored_branch_name\n\nAuthors\n-------\n\n* Lukáš Zapletal (`lzap_at_redhat_dot_com`)\n\nLicense\n-------\n\nGNU GPL v2. See the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzap%2Fgit-xcleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flzap%2Fgit-xcleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzap%2Fgit-xcleaner/lists"}