{"id":17449482,"url":"https://github.com/joyceerhl/vscode-git-fit-commit","last_synced_at":"2026-05-02T23:32:49.171Z","repository":{"id":192873986,"uuid":"687647988","full_name":"joyceerhl/vscode-git-fit-commit","owner":"joyceerhl","description":"Format commit messages in VS Code's source control input box","archived":false,"fork":false,"pushed_at":"2024-09-14T12:05:02.000Z","size":3771,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T09:53:31.386Z","etag":null,"topics":["git","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=joyceerhl.git-commit-formatter","language":"TypeScript","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/joyceerhl.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":"2023-09-05T17:56:17.000Z","updated_at":"2024-11-05T21:32:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2964e36-5547-496c-82f9-c8d5bc80d450","html_url":"https://github.com/joyceerhl/vscode-git-fit-commit","commit_stats":null,"previous_names":["joyceerhl/vscode-git-fit-commit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joyceerhl/vscode-git-fit-commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joyceerhl%2Fvscode-git-fit-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joyceerhl%2Fvscode-git-fit-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joyceerhl%2Fvscode-git-fit-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joyceerhl%2Fvscode-git-fit-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joyceerhl","download_url":"https://codeload.github.com/joyceerhl/vscode-git-fit-commit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joyceerhl%2Fvscode-git-fit-commit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280073296,"owners_count":26267112,"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-10-20T02:00:06.978Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["git","vscode-extension"],"created_at":"2024-10-17T21:41:55.716Z","updated_at":"2025-10-20T09:53:33.803Z","avatar_url":"https://github.com/joyceerhl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git 50/72 Commit Message Formatter\n\nThis is a Visual Studio Code extension that formats git commit messages in the source control input box according to the 50/72 rule. It also supports optional linting and quick fixes for missing `type:` subject line prefixes.\n\n## Usage\n\n1. Install the extension in VS Code.\n2. Write a commit message in the source control view input box.\n3. If either the subject line or the body exceeds the configured limit, a validation message will appear in the source control input box. Use the Quick Fix command (`Ctrl+.`) to access and run the `Format commit message` code action.\n\n    ![Commit message quick fix](format-quick-fix.gif)\n\n4. If your commit message lacks a `type:` prefix, a validation message will appear in the source control input box. Use the Quick Fix command (`Ctrl+.`) to access and run the `Add commit type` code action.\n\n    ![Commit message type warning and quick fix](commit-type-fix.gif)\n\n5. Happy committing!\n\n## Configuration options\n\n* Configure how long your commit message subject lines and bodies should be with the following settings:\n    - `git.inputValidationSubjectLength` (default: 50 chars)\n    - `git.inputValidationLength` (default: 72 chars)\n* Enable `editor.formatOnType` to automatically format your commit message when you insert a newline.\n* Configure how overly long subject lines should wrap when formatted with `gitCommit.subjectLine.overflowStrategy` (default: `split`)\n* Configure whether you want validation and quick fixes for commit types in the subject line:\n    - `gitCommit.subjectLine.lint.enabled`: (default: `false`) \n    - `gitCommit.subjectLine.lint.types` (default: `feat:`, `fix:` [and other Conventional Commit types](https://www.conventionalcommits.org/en/v1.0.0/))\n* Configure whether you want the formatter to strip multiple successive newlines:\n    - `gitCommit.collapseMultipleEmptyLines.enabled` (default: `false`)\n\n## Development\n\n### Prerequisites\n\n- Node.js\n- Visual Studio Code\n\n### Setup\n\n1. Clone the repository.\n2. Run `npm install` to install the dependencies.\n3. Open the project in VS Code.\n\n### Build\n\nPress `F5` to compile the extension source code and launch the extension development host.\n\n### Test\n\nRun `npm test` to run the tests.\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoyceerhl%2Fvscode-git-fit-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoyceerhl%2Fvscode-git-fit-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoyceerhl%2Fvscode-git-fit-commit/lists"}