{"id":24038812,"url":"https://github.com/usmonovdev/gitcmmt","last_synced_at":"2025-08-21T22:08:16.473Z","repository":{"id":262988665,"uuid":"888992737","full_name":"usmonovdev/gitcmmt","owner":"usmonovdev","description":"`gitcmmt` is a lightweight and user-friendly CLI tool designed to simplify and streamline your Git workflow. It automates common Git tasks like staging, committing, and pushing changes, while allowing flexibility through configurable options","archived":false,"fork":false,"pushed_at":"2024-11-21T05:47:51.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T19:46:07.463Z","etag":null,"topics":["commit","git","git-commit-generator","git-commit-messages","git-commit-msg-linter"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/gitcmmt","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/usmonovdev.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":"2024-11-15T11:58:22.000Z","updated_at":"2024-11-21T05:47:54.000Z","dependencies_parsed_at":"2024-11-15T13:17:37.783Z","dependency_job_id":"ec702d57-1bc7-4fdd-b60b-d8d7f76b1494","html_url":"https://github.com/usmonovdev/gitcmmt","commit_stats":null,"previous_names":["usmonovdev/gitcmmt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmonovdev%2Fgitcmmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmonovdev%2Fgitcmmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmonovdev%2Fgitcmmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmonovdev%2Fgitcmmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usmonovdev","download_url":"https://codeload.github.com/usmonovdev/gitcmmt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249739897,"owners_count":21318670,"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","git-commit-generator","git-commit-messages","git-commit-msg-linter"],"created_at":"2025-01-08T20:17:45.153Z","updated_at":"2025-04-19T16:39:47.900Z","avatar_url":"https://github.com/usmonovdev.png","language":"JavaScript","readme":"# gitcmmt\n\n`gitcmmt` is a lightweight and user-friendly CLI tool designed to simplify and streamline your Git workflow. It automates common Git tasks like staging, committing, and pushing changes, while allowing flexibility through configurable options.\n\n---\n\n## Features\n\n- **Automate Git Commands**:\n  - Automatically run `git add .` to stage changes.\n  - Commit changes with customizable messages.\n  - Push to the desired remote and branch.\n- **Customizable Flags**:\n  - Skip specific steps (`--skip-add`, `--skip-push`).\n  - Customize the branch (`--branch`) and remote (`--remote`).\n  - Specify commit messages manually (`--msg`) or use quick templates (`--dbg` for \"Bugs fixed\").\n- **Interactive Push Confirmation**:\n  - Ask for confirmation before pushing changes.\n- **Auto-Push Option**:\n  - Automatically push changes with the `--auto-push` flag.\n\n---\n\n## Installation\n\nInstall the package globally via `npm`:\n\n```bash\nnpm install -g gitcmmt\n```\n\nOr run directly using `npx`:\n\n```bash\nnpx gitcmmt\n```\n\n---\n\n## Usage\n\n### Basic Usage\n\nRun the tool to stage, commit, and optionally push changes:\n\n```bash\nnpx gitcmmt\n```\n\n### Available Options\n\n| Option         | Description                                                                 | Default      |\n|-----------------|-----------------------------------------------------------------------------|--------------|\n| `--skip-add`    | Skip the `git add .` step.                                                 | `false`      |\n| `--skip-push`   | Skip the `git push` step.                                                  | `false`      |\n| `--branch`      | Specify the branch to push changes to.                                     | `main`       |\n| `--remote`      | Specify the remote repository.                                             | `origin`     |\n| `--msg`         | Manually set a commit message.                                             | Auto-generated |\n| `--dbg`         | Use a quick commit message: \"Bugs fixed\".                                  | `false`      |\n| `--auto-push`   | Automatically push changes without asking for confirmation.                | `false`      |\n\n---\n\n## Examples\n\n### 1. Default\n\nRun the tool without `--auto-push` to get a prompt asking whether to push changes:\n\n```bash\nnpx gitcmmt\n```\n\n### 2. Commit and Push to `main`\n\n```bash\nnpx gitcmmt --msg \"Updated README\" --auto-push\n```\n\n### 3. Skip Push Step\n\n```bash\nnpx gitcmmt --skip-push\n```\n\n### 4. Customize Remote and Branch\n\n```bash\nnpx gitcmmt --remote upstream --branch develop\n```\n\n### 5. Use Quick Commit Message\n\n```bash\nnpx gitcmmt --dbg\n```\n\n---\n\n## How It Works\n\n1. **Stage Changes**: Automatically stages all changes unless `--skip-add` is used.\n2. **Commit Changes**: Commits with a message provided by `--msg`, `--dbg`, or an auto-generated summary of changes.\n3. **Push Changes**: Pushes changes to the remote and branch specified, with an optional confirmation step unless `--auto-push` is enabled.\n\n---\n\n## Contributing\n\nWe welcome contributions! If you have ideas for improvement or find bugs, feel free to open an issue or submit a pull request.\n\n---\n\n## Support\n\nIf you encounter issues, please [open an issue on GitHub](https://github.com/usmonovdev/gitcmmt/issues).\n\nHappy coding! 🚀","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusmonovdev%2Fgitcmmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusmonovdev%2Fgitcmmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusmonovdev%2Fgitcmmt/lists"}