[feat](aliases): Update aliases to use git-change-g3n2b for diff processing and commit message generation.
[refactor](aliases): The `gaids` alias was refactored to use `git-change-g3n2b` for diff processing. [feat](aliases): The `gai-interactive` alias was refactored to use `git-change-g3n2b` for diff processing and commit message generation. [feat](aliases): The `gai-summaary` alias was refactored to use `git-change-g3n2b` for diff processing. [feat](aliases): The `gai-msg` alias was refactored to use `git-change-g3n2b` for diff processing and commit message generation. [feat](aliases): The `gai-all` alias was refactored to use `git-change-g3n2b` for diff processing and commit message generation. [feat](aliases): The `gaicm` alias was refactored to use `git-change-g3n2b` for diff processing and commit message generation.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
# Basic git diff summarizer
|
||||
alias gai-summary="git diff | ollama run git-diff-summarizer"
|
||||
alias gai-summary="git diff | ollama run git-change-g3n2b"
|
||||
|
||||
# Full git commit message generation pipeline
|
||||
alias gai-msg="git diff --cached | ollama run git-diff-summarizer | ollama run commit-msg-generator"
|
||||
alias gai-msg="git diff --cached | ollama run git-change-g3n2b | ollama run git-commit-g3n2b"
|
||||
|
||||
# Alternative: analyze all changes (not just staged)
|
||||
alias gai-all="git diff | ollama run git-diff-summarizer | ollama run commit-msg-generator"
|
||||
alias gai-all="git diff | ollama run git-change-g3n2b | ollama run git-commit-g3n2b"
|
||||
|
||||
# Interactive version - shows summary first, then generates commit message
|
||||
alias gai-interactive='echo "=== DIFF SUMMARY ===" && git diff --cached | ollama run git-diff-summarizer && echo -e "\n=== COMMIT MESSAGE OPTIONS ===" && git diff --cached | ollama run git-diff-summarizer | ollama run commit-msg-generator'
|
||||
alias gai-interactive='echo "=== DIFF SUMMARY ===" && git diff --cached | ollama run git-change-g3n2b && echo -e "\n=== COMMIT MESSAGE OPTIONS ===" && git diff --cached | ollama run git-change-g3n2b | ollama run git-commit-g3n2b'
|
||||
|
||||
# Shorter aliases for frequent use
|
||||
alias gaids="git diff --cached | ollama run git-diff-summarizer"
|
||||
alias gaicm="git diff --cached | ollama run git-diff-summarizer | ollama run commit-msg-generator"
|
||||
alias gaids="git diff --cached | ollama run git-change-g3n2b"
|
||||
alias gaicm="git diff --cached | ollama run git-change-g3n2b | ollama run git-commit-g3n2b"
|
||||
|
||||
# Function for creating commit with AI-generated message
|
||||
gai-commit() {
|
||||
|
Reference in New Issue
Block a user