{"id":20653468,"url":"https://github.com/t-ski/grit","last_synced_at":"2026-04-24T09:32:09.179Z","repository":{"id":248585406,"uuid":"821847439","full_name":"t-ski/grit","owner":"t-ski","description":"Intuitive Semver based git client abstraction.","archived":false,"fork":false,"pushed_at":"2024-07-17T18:26:27.000Z","size":1264,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T22:43:28.461Z","etag":null,"topics":["client","git","semver"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t-ski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-29T15:53:14.000Z","updated_at":"2024-07-17T18:26:30.000Z","dependencies_parsed_at":"2024-07-15T23:43:14.241Z","dependency_job_id":"a81141bc-6043-40fa-b856-6089c6c3e9ca","html_url":"https://github.com/t-ski/grit","commit_stats":null,"previous_names":["t-ski/grit"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/t-ski/grit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-ski%2Fgrit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-ski%2Fgrit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-ski%2Fgrit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-ski%2Fgrit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t-ski","download_url":"https://codeload.github.com/t-ski/grit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-ski%2Fgrit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32216913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T08:24:32.376Z","status":"ssl_error","status_checked_at":"2026-04-24T08:24:26.731Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["client","git","semver"],"created_at":"2024-11-16T17:44:26.080Z","updated_at":"2026-04-24T09:32:04.172Z","avatar_url":"https://github.com/t-ski.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/t-ski/grit\"\u003e\n  \u003cimg src=\"./readme/grit-hero.png\" width=\"300\" alt=\"grit\"\u003e\n\u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\n\nIntuitive [Semver](https://semver.org) based git client abstraction.\n\n# grit\n\n## Installation\n\n\u003e 🔶 \u0026hairsp; grit is a [git](https://git-scm.com/) abstraction. Thus, it requires a git installation. The git binary needs to be accessible in path.\n\n\u003e 🖥️ \u0026hairsp; grit does currently support macOS host systems.\n\n``` console\nbash \u003c(curl -s https://raw.githubusercontent.com/t-ski/grit/main/installer/install.mac.sh) 0.1.0\n```\n\u003e 💡 \u0026hairsp; The grit version to install must be specified through the trailing argument ([browse versions](https://github.com/t-ski/grit/releases)).\n\n## Usage Synopsis\n\ngrit purposefully integrates with the Semver approach. The grit command line interface is accordingly designed. The atomic grit workflow is a development that is either a patch, minor, or major increment (see Semver). The fundamental design principle for grit is locality. This means, the HEAD is always on a branch linked with a Semver development declaration (such as a patch).\n\n```\ngrit \u003ccommand\u003e [\u003carg:positional\u003e]* [--\u003carg:key\u003e|-\u003carg:shorthand\u003e *?]*\n```\n\n\u003ca href=\"https://github.com/t-ski/grit#usage-synopsis\"\u003e\n  \u003cimg src=\"./readme/scheme.png\" width=\"325\" alt=\"grit branching scheme\"\u003e\n\u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\n\n\u003e 💡 \u0026hairsp; Run `grit help` to view usage instructions in the console.\n\n## Start Development\n\nAn incremental development can be started with the respective Semver terminology. it is recommended to provide the declared development in a few dash-separated words to the name option. Alternatively, the current timestamp is used to identify the underlying git branch chronologically.\n\n### Patch\n\n``` console\ngrit patch [--name|-name *]?\n```\n\n### Minor\n\n``` console\ngrit minor [--name|-name *]?\n```\n\n### Major\n\n``` console\ngrit major [--name|-name *]?\n```\n\n#### Example\n\n``` console\ngrit patch fix-typo\n```\n\n## Complete Development\n\nCompleting a previously started incremental development includes to a few steps: The development branch is merged to the main branch (or a differently specified target). Unless explicitly flagged to keep existing, the development branch is subsequently deleted. Finally, a new git tag is created that is annotated with the next according Semver version (`v\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e`).\n\n``` console\ngrit complete [--target|-t *]? [--keep-branch]? \n```\n\n\u003e 💡 \u0026hairsp; Based on the generated tag, CI pipelines can easily infer releases.\n\n## Redeclare Development\n\nA development might deviate from the original declared purpose. For instance, when a patch introduces an additional feature. Instead of inverting the branching behaviour, grit provides a Semver purpose redeclaration command.\n\n``` console\ngrit redeclare [patch|minor|major]\n```\n\n## Abort Development\n\nAborting a development helps with discontinued developments. This is, the HEAD is reset to the tip of the main branch. The stale development branch irrevocably deleted.\n\n``` console\ngrit abort\n```\n\n\u003e 💡 \u0026hairsp; Based on the generated tag, CI pipelines can easily infere potential releases.\n\n## Status\n\nAs with git, overall status information can be displayed with the status utility command.\n\n``` console\ngrit status\n```\n\n##\n\n\u003csub\u003e\u0026copy; Thassilo Martin Schiepanski\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft-ski%2Fgrit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft-ski%2Fgrit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft-ski%2Fgrit/lists"}