{"id":22983230,"url":"https://github.com/mikejoh/gitty","last_synced_at":"2026-05-02T03:32:34.173Z","repository":{"id":244124038,"uuid":"733212548","full_name":"mikejoh/gitty","owner":"mikejoh","description":"A CLI tool to display useful information about your local Git repositories! :cat:","archived":false,"fork":false,"pushed_at":"2025-12-04T10:29:30.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-07T16:25:02.207Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikejoh.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":"2023-12-18T20:20:46.000Z","updated_at":"2025-12-04T10:29:00.000Z","dependencies_parsed_at":"2024-12-12T08:23:51.266Z","dependency_job_id":"b39b6eb3-47b7-48c2-a566-c83ed5908c93","html_url":"https://github.com/mikejoh/gitty","commit_stats":null,"previous_names":["mikejoh/gitty"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/mikejoh/gitty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikejoh%2Fgitty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikejoh%2Fgitty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikejoh%2Fgitty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikejoh%2Fgitty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikejoh","download_url":"https://codeload.github.com/mikejoh/gitty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikejoh%2Fgitty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["git"],"created_at":"2024-12-15T02:36:29.667Z","updated_at":"2026-05-02T03:32:34.155Z","avatar_url":"https://github.com/mikejoh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitty\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/mikejoh/gitty/assets/899665/57b83aee-3f75-4cde-a6ad-e9e052f0d6ba\" alt=\"gitty\" /\u003e\n\u003c/p\u003e\n\n`gitty` - A CLI tool to display useful information about your local Git repositories.\n\n---\n\n## Features\n\n- Display branch information, including the last commit, age, author, and remotes.\n- Filter commits by author.\n- Traverse all branches in a repository.\n- Skip specific directories during scanning.\n- Truncate long branch names for better readability.\n\n---\n\n## Install\n\n### From source\n\n1. `git clone https://github.com/mikejoh/gitty.git`\n2. `cd gitty`\n3. `make build`\n4. `make install` (assumes thath `~/.local/bin` is used)\n\n### Download and run\n\n1. Download (using `v0.1.3` as an example):\n\n```bash\ncurl -LO https://github.com/mikejoh/gitty/releases/download/0.1.3/gitty_0.1.3_linux_amd64.tar.gz\n```\n\n2. Unpack:\n\n```bash\ntar xzvf gitty_0.1.3_linux_amd64.tar.gz\n```\n\n3. Run:\n\n```bash\n./gitty --version\n```\n\n## Usage\n\n```bash\nUsage of gitty:\n  -branches\n     Loop through all branches.\n  -path string\n     The path to scan for branches. (default \".\")\n  -skip-dirs string\n     Comma separated list of directories to skip.\n  -truncate\n     Truncate branch names to 25 characters.\n  -version\n     Print the version number.\n```\n\n### Examples\n\nLocal git repository:\n\n```bash\ngitty --path .\n┌────────────┬────────┬────────┬─────────────────────────────────┬──────────┬──────────────────┬─────────┐\n│ REPOSITORY │ SIZE   │ BRANCH │ LAST COMMIT                     │ AGE      │ AUTHOR           │ REMOTES │\n├────────────┼────────┼────────┼─────────────────────────────────┼──────────┼──────────────────┼─────────┤\n│ gitty      │ 6.67MB │ main   │ 2025-12-04 11:23:21 +0100 +0100 │ 0d 0h 1m │ Mikael Johansson │ origin  │\n└────────────┴────────┴────────┴─────────────────────────────────┴──────────┴──────────────────┴─────────┘\n```\n\nIterate through all branches in local repository:\n\n```bash\ngitty --path . --branches\n┌────────────┬──────┬─────────────────────────┬─────────────────────────────────┬──────────────┬──────────────────┬─────────┐\n│ REPOSITORY │ SIZE │ BRANCH                  │ LAST COMMIT                     │ AGE          │ AUTHOR           │ REMOTES │\n├────────────┼──────┼─────────────────────────┼─────────────────────────────────┼──────────────┼──────────────────┼─────────┤\n│ gitty      │ N/A  │ calc-disk-size-per-path │ 2025-01-13 08:49:02 +0100 +0100 │ 325d 2h 36m  │ Mikael Johansson │ origin  │\n│ gitty      │ N/A  │ iterate-on-branches     │ 2024-01-21 21:08:03 +0100 +0100 │ 682d 14h 17m │ Mikael Johansson │ origin  │\n│ gitty      │ N/A  │ main                    │ 2025-12-04 11:23:21 +0100 +0100 │ 0d 0h 1m     │ Mikael Johansson │ origin  │\n└────────────┴──────┴─────────────────────────┴─────────────────────────────────┴──────────────┴──────────────────┴─────────┘\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikejoh%2Fgitty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikejoh%2Fgitty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikejoh%2Fgitty/lists"}