Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ git push
└─────────────────────────────────────┘
```

`git push` stays the main entry point. Pushgate plugs into it through the installed `pre-push` hook; `pushgate push` is an optional friendly wrapper for the same workflow.
`git push` stays the main entry point. Pushgate plugs into it through the
installed `pre-push` hook; `pushgate push` is an optional friendly wrapper for
the same workflow. For long interactive runs, such as warning prompts plus local
AI review, `pushgate push` runs the local Pushgate preflight before opening the
native Git push and then invokes `git push --no-verify` after Pushgate passes.

Local deterministic checks can block a push. Warning results require an explicit yes/no confirmation before the push continues. Local AI supports `blocking`, `advisory`, and `off` modes; `blocking` is the default, matching the review gate shown above. CI and PR checks remain the final enforcement point for policy that must survive local hook skips.

Expand Down Expand Up @@ -225,7 +229,9 @@ git -c pushgate.skip-ai-check=true push
git -c pushgate.skip-all-checks=true push
```

The optional wrapper maps friendly flags to the same one-push config:
The optional wrapper maps friendly flags to the same one-push config. It also
runs Pushgate locally before the native network push, so long checks and warning
prompts do not hold an already-open Git remote session idle:

```bash
pushgate push --skip-ai-check
Expand Down
Loading
Loading