git diff HEAD~1 | gemini -p 'Summarize what changed in this commit'
Category: Gemini CLI
git diff HEAD~1 | gemini -p 'Summarize what changed in this commit'
Pipe the latest git diff to Gemini CLI for an automatic commit summary
Pipes the diff of the latest commit to Gemini and asks it to write a human-readable summary of the changes.