`git rebase <upstream> <branch>` checks out <branch>, so a later bare push was refused as if main were still checked out. Pushes through xargs get refspecs the hook cannot see, so only an explicit main is refused there. Refs: #178 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi