Docs › Pull requests
New requests
Open a pull request for the branch you are on, from the git view.
Where Git › Create pull request
Agents use it
1 min read
How it works
- In the git view, press Create pull request beside Push, or New in the Pull requests widget. It is there for a repository on GitHub or GitLab with a connected account, on a branch other than the default.
- The sheet holds the base branch, a title from the commit or the branch's name, and the description from the repository's template, with Template to pick another where there are several.
- Add Reviewers, and Assignees, Labels and Milestone where you may. The code owners it will ask are named. Create as a draft opens it as a draft.
- Create pull request pushes the branch first if the remote lacks its commits, asking unless Settings › Pull requests says always. The new request then opens in the widget.
Good to know
- Fill with agent has an agent write the title and description. An agent can also fill the sheet on its own; only you create the request.
- If the branch already has an open request into that base, the sheet shows it instead.
- Templates and code owners are read from the base branch, not your working copy.