A bash function that automatically generates meaningful git commit messages using Claude AI by analyzing staged changes. The function stages all changes, sends a truncated diff to Claude with a prompt for a single-line commit message, and commits with the generated message. It includes a spinner animation for visual feedback
Table of contents
My commit functionWhat are dotfiles anyway?How the AI generation worksStill fast, still flexibleAdding a spinner for nicer outputIn closingSort: