Grant Push banner
friedbotstudio friedbotstudio

Grant Push

Git community

Description

--- description: Grant consent for Claude to run `git push`. Valid for 5 minutes. Required by the Git Commit Guard hook on protected branches. argument-hint: "[optional note]" allowed-tools: Bash(date:*), Bash(git:*), Write disable-model-invocation: true --- Write a consent token to `.claude/state/push_consent` so the Git Commit Guard hook allows the next `git push` on a protected branch. The token is the current UNIX epoch timestamp on line 1; any optional note goes on line 2. How this works

Installation

Installs to ~/.claude/commands/friedbotstudio-baseline-grant-push.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/friedbotstudio/baseline/HEAD/.claude/commands/grant-push.md -o ~/.claude/commands/friedbotstudio-baseline-grant-push.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository