{"id":37194949,"url":"https://github.com/mjpitz/git-gerrit","last_synced_at":"2026-01-14T22:40:05.527Z","repository":{"id":80615795,"uuid":"428776427","full_name":"mjpitz/git-gerrit","owner":"mjpitz","description":"A git wrapper for managing Gerrit changes. ","archived":true,"fork":false,"pushed_at":"2021-11-18T18:38:44.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-19T20:56:21.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mjpitz.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":"2021-11-16T18:47:44.000Z","updated_at":"2023-12-01T02:02:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"2bc5a7ec-c7a2-4fc4-83cc-6b6b7df80e16","html_url":"https://github.com/mjpitz/git-gerrit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mjpitz/git-gerrit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpitz%2Fgit-gerrit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpitz%2Fgit-gerrit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpitz%2Fgit-gerrit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpitz%2Fgit-gerrit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjpitz","download_url":"https://codeload.github.com/mjpitz/git-gerrit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpitz%2Fgit-gerrit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28436698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"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":[],"created_at":"2026-01-14T22:40:04.859Z","updated_at":"2026-01-14T22:40:05.464Z","avatar_url":"https://github.com/mjpitz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-gerrit\n\nA helper tool for working with Gerrit change sets and git.  \n\n## Status\n\nMostly started with some simple readonly operations to get started.\n\n- [x] List upstream changes.\n  - Ability to provide a custom query: `git gerrit changes -q \"status:open\"`\n- [x] Show details about a change.\n  - `gerrit show :changeId`\n- [x] Show an activity log of events related to an associated change.\n  - `gerrit log :changeId`\n- [x] Checkout an existing change set.\n  - `gerrit checkout :changeID`\n- [ ] Create a new change set.\n- [ ] Split an active change set.\n- [ ] Push an updated change set.\n\n## Usage\n\n_Note:_ tool must be run from within a repository root currently.\n\n### Installation\n\n```\ngo install github.com/mjpitz/git-gerrit/cmd/git-gerrit@latest\n\n# for a shorter syntax...\nalias gerrit=git-gerrit\n\n# otherwise, you can access using `git gerrit`\n```\n\n### Listing available change sets\n\n```\n$ gerrit changes\n\nCHANGE ID       SUBJECT                 UPDATED\n6359            ...                     Thu, 18 Nov 2021 10:39:54 CST\n6218            ...                     Thu, 18 Nov 2021 10:38:06 CST\n6298            ...                     Thu, 18 Nov 2021 09:21:59 CST\n6354            ...                     Thu, 18 Nov 2021 08:48:22 CST\n```\n\n### Checking out a change set\n\nWhen checking out a change set, a new branch is actually created (gerrit branches )\n\n```\n$ gerrit checkout 1234  # or gerrit checkout Change-Id\n\n$ git branch | grep \"*\" \n* gerrit/6218\n```\n\n### Showing a change set\n\n```\n$ gerrit show I3cad05d0c2c8c9c9b1cad8b182fb459ccf3732ea\n\nREVIEW:  https://localhost:8080/c/mjpitz/git-gerrit/+/1\nSUBJECT: initial version of the tool\nOWNER:   mya \u003cnoreply@example.com\u003e\nCREATED: Fri, 29 Oct 2021 14:44:06 -0500\nUPDATED: Wed, 17 Nov 2021 06:52:40 -0600\n\nSTATUS:           MERGED    +413 -0\nWORK IN PROGRESS: false\nMERGEABLE:        false\n\nPROJECT:  mjpitz/git-gerrit\nBRANCH:   main\nCOMMIT:   c1df86cf99132ce83952a2c35e7d76d4e136ca02\n\nREVIEWERS:\n- Robot \u003c\u003e\n- Person 1 \u003cnoreply@example.com\u003e\n- Person 2 \u003cnoreply@example.com\u003e\n- ...\n\n```\n\n### Showing the change log\n\n```\n$ gerrit log I3cad05d0c2c8c9c9b1cad8b182fb459ccf3732ea\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjpitz%2Fgit-gerrit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjpitz%2Fgit-gerrit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjpitz%2Fgit-gerrit/lists"}