Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(tasks): point blocked-push hint at git_signed_rewrite (#61681)

Alessandro Pogliaghi2e89a9d57fe3
diff --git a/products/tasks/backend/sandbox/images/git-guard.sh b/products/tasks/backend/sandbox/images/git-guard.sh
index 57e22f3d8473..08670eab5821 100644
--- a/products/tasks/backend/sandbox/images/git-guard.sh
+++ b/products/tasks/backend/sandbox/images/git-guard.sh
@@ -49,7 +49,8 @@ done
case "$subcommand" in
commit|push)
echo "git $subcommand is disabled in PostHog Code: commits must be signed." >&2
- echo "Stage changes with 'git add', then call the git_signed_commit tool." >&2
+ echo "To commit: stage changes with 'git add', then call the git_signed_commit tool." >&2
+ echo "To force-push after a rebase/conflict fix: call the git_signed_rewrite tool." >&2
exit 1
;;
esac