This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------------------------------------------------------------------- | |
# Enhanced AI-powered Git Commit Function with Optimizations and UX Improvements | |
# Add this to your ~/.bashrc or ~/.zshrc to utilize the `gcm` command. | |
# Features: | |
# 1) Validates required dependencies. | |
# 2) Checks for staged changes. | |
# 3) Allows customizable exclusion patterns. | |
# 4) Generates commit messages using an LLM with an extended prompt. | |
# 5) Provides user-friendly prompts with color-coded messages. | |
# 6) Handles errors gracefully with informative feedback. |