Back to Hooks

Auto Git Add

Hooks git-workflow 1,165

Automatically stage modified files with git add after editing. Helps maintain a clean git workflow by staging changes as they're made.

Install Command
npx claude-code-templates@latest --hook git-workflow/auto-git-add
View on GitHub
claude-code — auto-git-add

Content

JSON
{
"description": "Automatically stage modified files with git add after editing. Helps maintain a ..."
"hooks": {
"PostToolUse": [1 item]
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.