---
title: /skill:gp
description: Pi-adapted git push with checks and report.
---

# /skill:gp

**Status:** pi-adapted.

Pushes the current branch to `origin` after pre-checks and prints a push report.

## Usage

```text
/skill:gp
/skill:gp --force-with-lease
```

## Behavior

- Runs autonomously; no confirmation prompts.
- Uses `lib/gp-precheck.sh` and `lib/gp-push.sh` through pi-compatible helper path lookup.
- Blocks detached HEAD and missing `origin`.
- Does not block on uncommitted files; `git push` sends only commits.
- `gh` is optional. Without it, PR/URL info is omitted.

## Output

Pushed commits, diff stat, optional branch/PR links, and a note about uncommitted files when present.
