Skip to content

Instantly share code, notes, and snippets.

View juanchaves's full-sized avatar

Juan Chaves juanchaves

View GitHub Profile
@juanchaves
juanchaves / llm-commit.sh
Last active February 27, 2026 15:01 — forked from fritzprix/llm-commit.sh
🤖 Generate git commit messages automatically using Amazon Q Cli (`q`). Simple bash script that analyzes your git diff and creates meaningful commit messages.
#!/bin/bash
# Based on https://gist.github.com/fritzprix/5d2aa93a1d1e117ed374bb18dbd3bb27
# Default mode is normal commit
AMEND_MODE=false
USE_TEMPLATE=false
TEMPLATE_PATH="$HOME/.gitcommit.template"
# Show help message