{"id":13863027,"url":"https://github.com/devpolo/gac","last_synced_at":"2025-07-14T13:33:20.377Z","repository":{"id":46915245,"uuid":"366085059","full_name":"devpolo/gac","owner":"devpolo","description":"One simple command to format and faster your git add and git commit actions.","archived":false,"fork":false,"pushed_at":"2022-07-04T13:34:34.000Z","size":156,"stargazers_count":160,"open_issues_count":1,"forks_count":14,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-08-05T06:06:37.208Z","etag":null,"topics":["bash","git","zshrc"],"latest_commit_sha":null,"homepage":"https://paul.crussaire.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devpolo.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}},"created_at":"2021-05-10T15:12:06.000Z","updated_at":"2024-03-01T13:39:17.000Z","dependencies_parsed_at":"2022-09-15T01:10:36.655Z","dependency_job_id":null,"html_url":"https://github.com/devpolo/gac","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpolo%2Fgac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpolo%2Fgac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpolo%2Fgac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpolo%2Fgac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devpolo","download_url":"https://codeload.github.com/devpolo/gac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225980898,"owners_count":17554919,"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":["bash","git","zshrc"],"created_at":"2024-08-05T06:02:00.035Z","updated_at":"2024-11-22T23:30:39.928Z","avatar_url":"https://github.com/devpolo.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"![format and faster your commits](static/gac.svg \"format and faster your commits\")\n\n# Format and faster your git commit\n\nA customizable bash function to **format** and **faster** your `git add -A \u0026\u0026 git commit -m \"message\"` command.\n\n## Example\n\n```bash\ngac f call to action button\n\n# equals to:\ngit add -A\ngit commit -m \"feat: call to action button\"\n```\n\n## Contributions\n\n1. Give this project a ⭐️\n2. Pull requests and issues are most welcome\n\n## Quickstart\n\n### macOS\n\n1. You need a `~/.zshrc` file\n2. Open or create it: `vim ~/.zshrc`\n3. Enter insert mode: `i`\n4. Past the entire [`gac.sh`](gac.sh) file (or a [variant](variant/shell)) at the end of your `~/.zshrc` file\n5. Exit vim: `:wq`\n6. Restart your terminal\n7. Enjoy faster and formatted `git add` and `git commit` actions\n\n### Linux\n\nWork the same as [macOS](#macos). Use `~/.profile` file instead.\n\n### Windows (only in Powershell)\n\n1. Run your PowerShell as administrator\n2. Give access to external script: `Set-ExecutionPolicy Unrestricted`\n3. Go to Powershell Home Directory `cd $PSHOME` or `cd C:\\Windows\\System32\\WindowsPowerShell\\v1.0`\n4. Open explorer in $PSHOME `start .`\n5. Copy `Profile.ps1` file (or a [variant](variant/powershell)) or paste the `Profile.ps1` contents if it already exists.\n\n## Available commands\n\n```bash\ngac\n# print available semantics\n\ngac c \u003cyour message\u003e\n# git add -A \u0026\u0026 git commit -m \"chore: \u003cyour message\u003e\"\n\ngac d \u003cyour message\u003e\n# git add -A \u0026\u0026 git commit -m \"docs: \u003cyour message\u003e\"\n\ngac f \u003cyour message\u003e\n# git add -A \u0026\u0026 git commit -m \"feat: \u003cyour message\u003e\"\n\ngac r \u003cyour message\u003e\n# git add -A \u0026\u0026 git commit -m \"refactor: \u003cyour message\u003e\"\n\ngac s \u003cyour message\u003e\n# git add -A \u0026\u0026 git commit -m \"style: \u003cyour message\u003e\"\n\ngac t \u003cyour message\u003e\n# git add -A \u0026\u0026 git commit -m \"test: \u003cyour message\u003e\"\n\ngac x \u003cyour message\u003e\n# git add -A \u0026\u0026 git commit -m \"fix: \u003cyour message\u003e\"\n\ngac \u003cyour message\u003e\n# git add -A \u0026\u0026 git commit -m \"\u003cyour message\u003e\"\n```\n\n## Thanks\n\n[Inspired by Lenar Hoyt's stackoverflow post](https://stackoverflow.com/a/45612441/11692562)\n\n[Inspired by the Angular convention](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#type)\n\n[Graphical charter inspired by Ory](https://github.com/ory)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevpolo%2Fgac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevpolo%2Fgac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevpolo%2Fgac/lists"}