{
  "markdown": "# Gemini CLI Git Tools Extension\n\nThe Git Tools extension is an open-source Gemini CLI extension, built to enhance your repository's git workflow. The extension adds new commands to Gemini CLI that help with git.\n\n## Installation\n\nInstall the Git Tools extension by running the following command from your terminal *(requires Gemini CLI v0.4.0 or newer)*:\n\n```bash\ngemini extensions install https://github.com/paufortiana/geminicli-git-tools-extension\n```\n\nIf you do not yet have Gemini CLI installed, or if the installed version is older than 0.4.0, see\n[Gemini CLI installation instructions](https://github.com/google-gemini/gemini-cli?tab=readme-ov-file#-installation).\n\n## A Note on Gemini CLI's Evolution\n\nThe Gemini CLI is experiencing incredibly rapid development, with frequent updates introducing powerful new features. While this extension aims to enhance your Git workflow, it is important to acknowledge that the Gemini CLI's own rapid evolution may quickly integrate or even supersede some of the functionalities offered here.\n\n## Commands\n\nThis extension provides the following commands:\n\n### `/git-commit:write`\n\nAnalyzes your staged git changes and suggests a professional, high-quality commit message that adheres to the Conventional Commits specification.\n\n**Usage:**\n\n1. Stage your changes using `git add`.\n2. Run the command in your Gemini CLI terminal.\n3. The extension will return a suggested commit message.\n\n### `/git-commit:amend`\n\nAnalyzes your staged git changes and suggests a professional, high-quality commit message to amend the previous commit, that adheres to the Conventional Commits specification.\n\n**Usage:**\n\n1. Stage your changes using `git add`.\n2. Run the command in your Gemini CLI terminal.\n3. The extension will return a suggested commit message to amend the previous commit.\n\n### `/git-pr:draft`\n\nGenerates a Pull Request title and description based on your branch's changes against a target branch.\n\n**Usage:**\n\n1. Ensure you are on your feature branch.\n2. Run the command in your Gemini CLI terminal.\n3. The extension will analyze your changes and generate a draft PR description.\n\n## Roadmap\n\nI would like to enhance the Git Tools extension for the Gemini CLI. Here's a look at what's planned:\n\n### Git Rebase Commands\n\nI plan to introduce new commands under a `/git-rebase` namespace to streamline your rebasing workflows. These commands will aim to:\n\n* **Interactive Rebase Assistance**: Provide intelligent suggestions and automation for interactive rebasing, making it easier to squash, fixup, and reorder commits.\n* **Conflict Resolution Guidance**: Offer guided steps and context-aware suggestions to resolve merge conflicts during a rebase operation.\n* **Conventional Commits Integration**: Ensure that any rebase operations that modify commit messages can leverage the Conventional Commits specification for consistency.\n\nI welcome contributions and feedback on these upcoming features!\n\n## Resources\n\n* [Gemini CLI extensions](https://github.com/google-gemini/gemini-cli/blob/main/docs/extensions/index.md): Documentation about using extensions in Gemini CLI\n* [Blog post](https://blog.google/technology/developers/gemini-cli-extensions/): Announcement of Gemini CLI Extensions\n* [GitHub issues](https://github.com/paufortiana/geminicli-git-tools-extension/issues): Report bugs or request features\n\n## Legal\n\n* License: [Apache License 2.0](https://github.com/paufortiana/geminicli-git-tools-extension/blob/main/LICENSE)\n",
  "bytes": 3477,
  "sha": "c8846c547b0dc933deb297e50477d40af106463ebe1f4d79d03dac9dca45c98c",
  "repo_slug": "paufortiana/geminicli-git-tools-extension",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_paufortiana_geminicli_git_tools_extensio_63733987/readme"
}