feat(aliases): Add interactive commit message generation alias using ollama

This commit is contained in:
2025-09-11 15:33:30 +02:00
parent 5ca1977b03
commit e9e6e7a1b1

View File

@@ -35,3 +35,6 @@ gai-commit() {
echo "Commit cancelled."
fi
}
# Interactive version - shows summary first, then generates commit message
alias yadmai-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'