{"id":21694406,"url":"https://github.com/pauloo27/gco","last_synced_at":"2026-01-12T02:45:09.763Z","repository":{"id":57616952,"uuid":"384580119","full_name":"pauloo27/gco","owner":"pauloo27","description":"📝 Write God-tier commits","archived":false,"fork":false,"pushed_at":"2022-12-22T05:49:57.000Z","size":281,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T13:42:18.301Z","etag":null,"topics":["commit","git","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pauloo27.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}},"created_at":"2021-07-10T00:41:05.000Z","updated_at":"2024-01-03T05:35:29.000Z","dependencies_parsed_at":"2023-01-30T05:46:29.304Z","dependency_job_id":null,"html_url":"https://github.com/pauloo27/gco","commit_stats":null,"previous_names":["pauloo27/gommit"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauloo27%2Fgco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauloo27%2Fgco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauloo27%2Fgco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauloo27%2Fgco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pauloo27","download_url":"https://codeload.github.com/pauloo27/gco/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244628803,"owners_count":20484057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["commit","git","golang"],"created_at":"2024-11-25T18:28:18.554Z","updated_at":"2026-01-12T02:45:09.711Z","avatar_url":"https://github.com/pauloo27.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCO\n\nWrite God-tier commits.\n\n[Agola CI](https://ci.notagovernment.agency/user/Pauloo27/projects/GCO.proj)\n\n[![CI status](https://ci.db.cafe/api/v1alpha/badges/97376c88-6ab3-4abb-8714-8e898fefd89f)](https://ci.db.cafe/user/Pauloo27/projects/gco.proj)\n\n\n\u003cimg src=\"https://github.com/Pauloo27/gco/raw/master/.assets/commit.gif\" alt=\"Usage example gif\" height=\"250x\" /\u003e\n\n## Install\n\nIf you have Go installed, you can simply do:\n`go install github.com/Pauloo27/gco/cmd/gco@latest`\n\n\n\n## Config\n\nYou can create a config per repository, it should be placed at the root of\nthe git repository with the name `.gco.json` (create it by running `gco -init`).\n\nYou also can have a global config at `~/.config/gco.json` \n(create it by running `gco -init-global`). The global config is used when \nthere's no config at the repository level.\n\n## Prefix pack\n\nYou can either use text prefix (`feat:`, `fix:`, `ci:`) or emojis \n(`✨`, `🐛`, `👷`). You will be prompt to select one when you run `gco --init`.\n\n## Hooks\n\nYou can add Pre and Post commit hooks in `.gco.json`, like that:\n```json\n...\n\n  \"PreCommit\": [\n    {\n      \"Command\": \"make\",\n      \"ExitOnFail\": true,\n      \"Ask\": false\n    }\n  ],\n  \"PostCommit\": [\n    {\n      \"Command\": \"git push\",\n      \"ExitOnFail\": true,\n      \"Ask\": true\n    }\n  ]\n  \n...\n```\n\nA hook is made of:\n- Command: the command to run.\n- ExitOnFail: if the command fail, should the commit be cancelled?\n- Ask: ask for confirmation before running the hook.\n\n_GCO hooks does not replace Git hooks._\n\n## License\n\n\u003cimg src=\"https://i.imgur.com/AuQQfiB.png\" alt=\"GPL Logo\" height=\"100px\" /\u003e\n\nThis project is licensed under [GNU General Public License v2.0](./LICENSE).\n\nThis program is free software; you can redistribute it and/or modify \nit under the terms of the GNU General Public License as published by \nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauloo27%2Fgco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpauloo27%2Fgco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauloo27%2Fgco/lists"}