{"id":41744489,"url":"https://github.com/hasansino/commit","last_synced_at":"2026-04-01T21:27:02.990Z","repository":{"id":312205688,"uuid":"1046466237","full_name":"hasansino/commit","owner":"hasansino","description":"Commit helper tool","archived":false,"fork":false,"pushed_at":"2026-03-21T07:09:05.000Z","size":1689,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-21T23:20:12.444Z","etag":null,"topics":["ai-commit","commit","generate-commit-message","git","i-am-to-lazy-to-type-git-commands","llm-commit"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hasansino.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-08-28T18:20:31.000Z","updated_at":"2026-03-21T07:09:05.000Z","dependencies_parsed_at":"2026-01-25T01:01:37.847Z","dependency_job_id":null,"html_url":"https://github.com/hasansino/commit","commit_stats":null,"previous_names":["hasansino/commit"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/hasansino/commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasansino%2Fcommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasansino%2Fcommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasansino%2Fcommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasansino%2Fcommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasansino","download_url":"https://codeload.github.com/hasansino/commit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasansino%2Fcommit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"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":["ai-commit","commit","generate-commit-message","git","i-am-to-lazy-to-type-git-commands","llm-commit"],"created_at":"2026-01-25T00:44:53.472Z","updated_at":"2026-04-01T21:27:02.965Z","avatar_url":"https://github.com/hasansino.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"licence\"\u003e\u003c/a\u003e\n\u003ca href=\"https://golang.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Go-1.24.13-00ADD8?style=flat\u0026logo=go\" alt=\"goversion\"\u003e\u003c/a\u003e\n\u003ca href=\"https://goreportcard.com/report/github.com/hasansino/commit\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/hasansino/commit\" alt=\"goreport\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/hasansino/commit/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/hasansino/commit\" alt=\"release\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# commit\n\nCommit helper tool.\n\n## Installation\n\n### Homebrew\n\n```bash\nbrew tap hasansino/commit\nbrew install commit\n```\n\n### Go\n\n```bash\ngo install github.com/hasansino/commit@latest\n```\n\n### Download Binary\n\nDownload the latest binary from the [releases page](https://github.com/hasansino/commit/releases).\n\n## Features\n\n- Dry-run mode\n- Generates messages according to conventional commits specification\n- Generates commit messages using multiple providers (claude, openai, gemini)\n- Supports multi-line commit messages\n- Exclude/include specific file patterns and use global gitignore\n- Customizable commit message prompt templates\n- Option to use first or fastest response from providers\n- Configurable maximum diff size to include in prompts\n- Supports semantic versioning tag (major, minor, patch) incrementation and push\n- Option to push changes after committing to relevant remote branch\n- GPG signing according to user git configuration, supporting password input\n- Detects JIRA issue keys in branch name and adds them to commit message\n\n## Demo\n\n![Demo](./demo.gif)\n\n## Usage\n\n```terminaloutput\nCommit helper tool\n\nUsage:\n  commit [flags]\n  commit [command]\n\nAvailable Commands:\n  help        Help about any command\n  version     Version information\n\nFlags:\n      --auto                        Auto-commit with first and fastest response from provider.\n      --dry-run                     Show what would be committed without committing.\n      --exclude strings             Exclude patterns, when staging changes.\n      --first                       Use first received message and discard others.\n  -h, --help                        help for commit\n      --include-only strings        Only include specific patterns, when staging changes.\n      --jira-task-position string   Jira task position in commit message: prefix, infix, suffix, or none. (default \"none\")\n      --jira-task-style string      Jira task style: brackets, parens , plain-colon, or plain. (default \"plain\")\n      --log-level string            Logging level (debug, info, warn, error) (default \"info\")\n      --max-diff-size-bytes int     Maximum diff size in bytes to include in prompts. (default 65536)\n      --multi-line                  Use multi-line commit messages.\n      --prompt string               Custom prompt template.\n      --providers strings           Providers to use, leave empty for all (claude|openai|gemini).\n      --push                        Push after committing.\n      --tag string                  Create and increment semver tag part (major|minor|patch).\n      --timeout duration            API timeout. (default 10s)\n      --use-global-gitignore        Use global gitignore. (default true)\n\nUse \"commit [command] --help\" for more information about a command.\n```\n\nAll flags can also be set via environment variables, e.g. `COMMIT_AUTO=true`.\n\n## Configuration\n\nAt least one *_API_KEY variable is required to use this tool.\n\n- ANTHROPIC_API_KEY\n- ANTHROPIC_MODEL (optional, defaults to \"claude-3-5-haiku-latest\")\n- OPENAI_API_KEY\n- OPENAI_MODEL (optional, defaults to \"gpt-4-turbo\")\n- GEMINI_API_KEY\n- GEMINI_MODEL (optional, defaults to \"gemini-1.5-flash\")\n\n## Custom Prompt Variables\n\n- {diff}: git diff of the changes to be committed\n- {files}: list of changed files\n- {branch}: current git branch name\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasansino%2Fcommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasansino%2Fcommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasansino%2Fcommit/lists"}