{"id":29294982,"url":"https://github.com/cgoldberg/git-scripts","last_synced_at":"2026-05-07T06:31:34.435Z","repository":{"id":302952407,"uuid":"1013969938","full_name":"cgoldberg/git-scripts","owner":"cgoldberg","description":"A collection of scripts for working with Git and GitHub","archived":false,"fork":false,"pushed_at":"2026-05-01T18:56:59.000Z","size":119,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-01T20:28:12.956Z","etag":null,"topics":["bash","git","github","python"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/cgoldberg.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-04T19:39:54.000Z","updated_at":"2026-05-01T18:57:04.000Z","dependencies_parsed_at":"2025-07-21T21:22:45.167Z","dependency_job_id":"a8ee1439-17ab-40a2-bd3b-37d66f42fc04","html_url":"https://github.com/cgoldberg/git-scripts","commit_stats":null,"previous_names":["cgoldberg/git-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cgoldberg/git-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgoldberg%2Fgit-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgoldberg%2Fgit-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgoldberg%2Fgit-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgoldberg%2Fgit-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cgoldberg","download_url":"https://codeload.github.com/cgoldberg/git-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgoldberg%2Fgit-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32725936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bash","git","github","python"],"created_at":"2025-07-06T14:00:33.009Z","updated_at":"2026-05-07T06:31:34.430Z","avatar_url":"https://github.com/cgoldberg.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-scripts\n\n#### Collection of scripts for working with [Git][git-home] and [GitHub][github-home]\n\nAll script are written in [Bash][bash-home] or [Python][python-home].\n\n---\n\n- Copyright (c) 2025-2026 [Corey Goldberg][github-profile]\n- Development: [GitHub][github-repo]\n- License: [MIT][mit-license]\n\n----\n\n#### Contents:\n\n- [**git-branches**](https://github.com/cgoldberg/git-scripts/blob/main/git-branches) (bash):\n  - Show local branch info\n- [**git-clean-untracked**](https://github.com/cgoldberg/git-scripts/blob/main/git-clean-untracked) (bash):\n  - Delete untracked files and directories with confirmation\n- [**git-contribs**](https://github.com/cgoldberg/git-scripts/blob/main/git-contribs) (bash):\n  - Show contributor stats\n- [**git-info**](https://github.com/cgoldberg/git-scripts/blob/main/git-info) (bash):\n  - Show information about repository\n- [**git-obliterate-repo**](https://github.com/cgoldberg/git-obliterate-repo/blob/main/git-info) (bash):\n  - Delete untracked files, local/remote branches/tags, and all commit history\n- [**git-prs**](https://github.com/cgoldberg/git-scripts/blob/main/git-prs) (bash):\n  - Open GitHub Pull Requests URLs in a web browser\n- [**git-score**](https://github.com/cgoldberg/git-scripts/blob/main/git-score) (python):\n  - Show commit statistics\n- [**git-stat**](https://github.com/cgoldberg/git-scripts/blob/main/git-stat) (bash):\n  - Colorize status to indicate branch state\n- [**git-sync**](https://github.com/cgoldberg/git-scripts/blob/main/git-sync) (bash):\n  - Rebase all local branches in current repository from remote tracking branches\n- [**git-syncrepo**](https://github.com/cgoldberg/git-scripts/blob/main/git-syncrepo) (bash):\n  - Sync branch in remote fork with default branch in parent repo\n- [**git-track-branches**](https://github.com/cgoldberg/git-scripts/blob/main/git-track-branches) (bash):\n  - Create a local tracking branch for every remote branch\n- [**git-whack-branches**](https://github.com/cgoldberg/git-scripts/blob/main/git-whack-branches) (bash):\n  - Delete all local branches except default and current branch, even if not merged\n\n----\n\n#### Requirements:\n\n- Git\n- Bash\n- Python\n- jq\n\n----\n\n#### Usage:\n\n- clone or download this repo\n- add scripts to a directory on your `PATH`\n- make scripts executable (i.e. `chmod +x git-info`)\n- run a script from any directory in a local git repo.\n  - you can call them by script name (i.e.: `$ git-info`)\n    or through the Git executable (i.e.: `$ git info`)\n\n[git-home]: https://git-scm.com\n[github-home]: https://github.com\n[github-profile]: https://github.com/cgoldberg\n[github-repo]: https://github.com/cgoldberg/git-scripts\n[bash-home]: https://www.gnu.org/software/bash\n[python-home]: https://www.python.org\n[mit-license]: https://raw.githubusercontent.com/cgoldberg/git-scripts/refs/heads/main/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgoldberg%2Fgit-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcgoldberg%2Fgit-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgoldberg%2Fgit-scripts/lists"}