{"id":18638808,"url":"https://github.com/samturrell/gitprefix","last_synced_at":"2025-07-22T13:07:03.317Z","repository":{"id":109496639,"uuid":"236340199","full_name":"samturrell/gitprefix","owner":"samturrell","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-09T11:09:00.000Z","size":23,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-18T16:54:32.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/samturrell.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":"2020-01-26T16:29:30.000Z","updated_at":"2021-07-23T00:49:59.000Z","dependencies_parsed_at":"2023-04-24T05:51:07.219Z","dependency_job_id":null,"html_url":"https://github.com/samturrell/gitprefix","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":"0.23529411764705888","last_synced_commit":"cc3c2ec41c6ceb60518d3a569c2055caebd42f7f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samturrell/gitprefix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samturrell%2Fgitprefix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samturrell%2Fgitprefix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samturrell%2Fgitprefix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samturrell%2Fgitprefix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samturrell","download_url":"https://codeload.github.com/samturrell/gitprefix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samturrell%2Fgitprefix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266499334,"owners_count":23938839,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-11-07T05:43:50.103Z","updated_at":"2025-07-22T13:07:03.304Z","avatar_url":"https://github.com/samturrell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitprefix\n\nGitprefix is a Git `prepare-commit-msg` hook for formatting Git commit messages.\n\n## Features\n\n- Automatic task branch prefix (`task/`, `epic/`)\n- Emoji prefixing for certain words:\n   - `fix`: 🔧\n   - `wip`: 🚧\n   - `bug`: 🐛\n   - `refactor`: 🔨\n   - `revert`: ⏪\n   - `pr`: 👌\n   - `initial commit`: 🎉\n   - `responsive`: 📱\n   - `accessibility`: ♿️\n\n## Usage\n\n### Prerequisites\n\nYou need to have a git template directory set up. You can do this by creating an\nempty directory and adding this config to your `~/.gitconfig`:\n\n```ini\n[init]\n    templatedir = ~/path/to/your/git-template\n```\n\n### Installation\n\nThis package is used as an installer for the formatter. To install you can run the following command:\n\n```sh\nnpx gitprefix install\n```\n\nFor new git repositories, the hook files wil be added automatically, however for existing projects you can run the following commands to reinitialise:\n\n```sh\nnpx gitprefix init\n```\n\n### Updating\n\nIf the package is ever updated you can run the following command to pull down the new formatter and overwrite the existing file:\n\n```sh\nnpx gitprefix install --overwrite\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamturrell%2Fgitprefix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamturrell%2Fgitprefix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamturrell%2Fgitprefix/lists"}