Docs/Branches

Merge Branches

Merge your changes so you can jump onto the next task.

When you’ve finished with your branch and are ready to merge it back into the base branch, you can do so from the sidebar on the branch page. Here’s how it works, and what happens after merging.

Merge

As a branch author, you’ll see the large Merge Changes… button in the branch info sidebar to the right of the branch page. Merging works a little differently on Pierre than other platforms:

  • Approvals are not required to merge a branch
  • Anyone can review a branch before or after merge
  • Any member of your workspace can merge an open branch

As an author, here’s what you’ll see on your branches:

You can merge at anytime, even if the changes aren’t your own branch.

Merging requires two clicks—after you click the merge button, we’ll always ask you to confirm it.

Confirming the merge will squash your changes, push them into the default branch (usually main), and the commit message will be updated with the branch’s title as well as the AI-powered summary and highlights.

Merging as a reviewer

The sidebar looks a little different if you’re viewing someone else’s branch. The approve button is for reviewers to approve the branch before it’s merged. If you’re a reviewer, you’ll see this button on the bottom toolbar as well as the merge button.

Clicking Approve will open up a custom comment form where you can leave an optional message with your approval.

When you’ve approved a branch, the bottom toolbar updates to reflect the change.

Learn more about reviewing and approving branches on Pierre.

Pierre is the product engineering tool

Code hosting, review, docs, and CI. One place for product engineers and their teams to focus on what they do best—building products.

Join the Waitlist
Skip the line! Join our Discord for early access