docs(faq): correct rebase FAQ to match actual behavior by bymle · Pull Request #1370 · anthropics/claude-code-action (original) (raw)
The "Why won't Claude rebase my branch?" FAQ told users they could
enable rebasing by passing --allowedTools "Bash(git rebase:*)" via
claude_args. This does not work: the system prompt built in
src/create-prompt/index.ts unconditionally instructs Claude that it
cannot merge, rebase, or perform branch operations beyond creating and
pushing commits, so Claude declines rebase requests regardless of the
allowed tools.
Update the FAQ to describe the actual behavior and point users to the real workaround (rebase locally or via the Claude Code CLI).
Closes anthropics#1286