Quick Push
Quick Push hands your working changes to an AI agent that commits them, pushes them, and can open a pull request. You pick the target from a menu in the Git sidebar and the agent does the rest in its own terminal tab.
Set Up The Git Push Agent
Quick Push needs an AI agent. Open Settings → AI → Git Push Agent and set Push with AI agent to Codex or Claude Code, then pick the Agent model it should use. The matching CLI (codex or claude) must be installed on the server that owns the project.
You can also customize the Agent prompt, using {{task}} for the chosen push action, {{branch}} for the current branch, and {{defaultBranch}} for the repository's default branch.
While the agent is set to Disable, choosing a push action opens Settings instead of running.
The Push Menu
Expand the Git panel in the file explorer sidebar. In the Worktrees list, open the Worktree actions menu on the worktree you want to push and choose Commit & push with AI…. The menu groups five actions under the current branch, a new branch, and the default branch:
- Push to current branch: commit everything and push to the branch you are on.
- Push to current branch + create PR: commit, push, and open a pull request.
- Push to new branch: commit onto a new, descriptively named branch and push it.
- Push to new branch + create PR: commit onto a new branch, push it, and open a pull request.
- Push to default branch: commit onto the repository's default branch and push it. If that branch is checked out in another worktree, the agent commits from that worktree.
The action is unavailable for a bare worktree or one whose folder is missing.
What Happens Next
Terminay opens a new terminal tab named Push agent in that worktree's folder and starts the agent with your prompt. With the default prompt, the agent inspects git status and git diff, stages all changes, writes a commit message in the repository's existing style, and carries out the action without asking you to confirm each step.
The tab is an ordinary terminal. Watch it work, answer it if it asks something, or stop it as you would any other agent session. It appears in the Agents sidebar while it runs.
Pull Requests On GitHub And Gitea
For the pull request actions, the default prompt tells the agent to look at the Git remote first: it uses the gh CLI for GitHub remotes and the tea CLI for Gitea remotes. For any other host it gives you the remote URL so you can open the pull request yourself. The CLI it needs must be installed and signed in on the server.
For Gitea repositories, the Worktrees panel then shows the pull request and its checks on that worktree's row.