Synopsis
aigon feature-push [ID] [agent]Description
Push the current feature branch to origin with upstream tracking. This is a prerequisite for creating a GitHub pull request.
feature-push does not alter workflow state, move spec files, or trigger any merge. It only runs git push -u origin <branch>.
Argument resolution
| Context | What you provide | What happens |
|---|---|---|
| Worktree | nothing | Infers ID and agent from the worktree branch |
| Main repo | <ID> | Infers agent from the current branch |
| Main repo | <ID> <agent> | Uses the explicit branch feature-<ID>-<agent>-* |
Usage
# From a worktree (auto-detects everything)
aigon feature-push
# From main repo with feature ID
aigon feature-push 07
# Explicit
aigon feature-push 07 cc
# Slash command (Claude Code / Gemini)
/aigon:feature-pushWhat happens next
After pushing, create a pull request on GitHub. When the PR is merged (or if you skip PRs entirely), run aigon feature-close to finish the feature.
If a PR is open when you run feature-close, Aigon will block and tell you to merge or close the PR first. See the GitHub Integration guide for the full flow.
Last updated on