Compare

Bring your habits.
Leave the chores.

Choose where you are coming from. See what stays, what you gain, and how your words translate.

GitHubBerrit

Your repository and Git workflowCode review and landing

Berrit sits on top of GitHub and does not replace it. Your repository, your Actions and your branches stay where they are.

You keep

  • Your code and repository, on GitHub
  • Your Actions workflows: Berrit reads their results
  • A branch for each piece of work, if that is how you like it

You gain

  • One request takes approved work through checks and onto main
  • Approvals that survive a rebase
  • A list of the changes waiting on you
  • Stacks when you want them: a change for each commit

Worth knowing

  • Berrit owns the landing rules: they live in berrit.toml and OWNERS.
  • Reviews on GitHub count as votes only if you turn that on, for members who connected their account.
  • A pull request is imported from a branch of the same repository.

You sayBerrit says

pull requestchange

Push a branch and it arrives as one change. Give each commit an id and each becomes a change of its own.

force-pusha new revision

Push again and Berrit records the next revision, and says whether it was a rebase or an edit.

Re-request reviewYour turn

A new revision gives your reviewers the turn. Nobody has to ask.

CODEOWNERSOWNERS and rules

Berrit reads its own OWNERS files and berrit.toml. It does not read CODEOWNERS.

required status checkschecks

Named in berrit.toml, each with when it must pass: at push, once approved, or in the train.

merge queuethe train

It tests the last change in the queue with everything ahead of it, and lands what passes by fast-forward.

Merge buttonLand

Ask once, before or after approval. A berrit check on the pull request lets a ruleset keep the Merge button shut.

Try first

Connect one repository, import a same-repository pull request and set its required checks.

Setup and permissions

GerritBerrit

Commit-sized reviews and Change-IdsCode review and landing

The change model you know, with a train built in and your forge left holding the code.

You keep

  • Small commit reviews, one commit a change
  • Familiar Change-Ids, and Gerrit’s own commit-msg hook
  • git push to refs/for/main

You gain

  • Ready changes move through checks and land by themselves
  • Conflicts that point to the change that needs a fix
  • jj as a first-class way in
  • Any forge underneath: GitHub, GitLab, Gitea or a bare repository

Worth knowing

  • Start with new changes. Historical review discussions are not imported.
  • A vote is approve or request changes. There are no label scores.
  • Your code stays on a forge, which Berrit fetches from and pushes to.

You sayBerrit says

changechangethe same

One commit under review, with an identity that survives every rewrite.

patch setrevision

Numbered the same way. Each one says whether it was a rebase or an edit.

Change-IdChange-Idthe same

The same trailer, and Gerrit’s commit-msg hook is accepted. jj’s change id works as well.

refs/for/mainrefs/for/mainthe same

git push berrit HEAD:refs/for/main sends every commit above main as a change.

SubmitLand

By fast-forward, through the train, once review and checks pass.

Submit including parentsLand the stack

The change and the open ones below it enter, are tested and land as one.

attention setYour turn

Your dashboard is the list of changes waiting on you.

Code-Review +2Approve

Two votes and no scores: approve, or request changes.

GraphiteBerrit

Small changes, built on each otherCode review and landing

The stacking habit you have, on commits instead of branches, with review and landing in one place.

You keep

  • Your repository, where it is
  • Small, stacked changes
  • A command that sends the whole stack

You gain

  • A stable review for every commit
  • Landing by the train, with nothing to merge by hand
  • One place to see what is blocked
  • jj and plain Git, side by side

Worth knowing

  • Approvals and requests to land live in Berrit.
  • A stack is a chain of commits, one change each, read from the commits themselves.
  • Send a commit stack, or import a branch as one change.

You sayBerrit says

stackstackthe same

A chain of commits rather than of branches. It is read from the commits, so there is nothing to keep in sync.

gt submitberrit send

Or jj gerrit upload, or a plain git push to refs/for/main.

gt syncberrit sync

Fetches, drops what has landed from your local stack and rebases the rest.

pull requestchange

One commit, with its own review, revisions and approvals.

merge queuethe train

It tests the last change in the queue with everything ahead of it, and lands what passes by fast-forward.

Try first

Send a short stack with Git or jj. Ask it to land and watch the requirements clear.

Setup and permissions

Wherever you come from, three chores end

  • Rebasing by hand so a change can land
  • Approving the same patch twice
  • Working out whose turn it is

Where Berrit fits

On top of your forge,
not instead of it.

Ask a change to land once and keep building. Berrit carries it there as reviews and checks pass.

How the train handles a failure
  1. BerritReview, whose turn it is, and the train
  2. Your forgeThe code, its branches and its historystays as it is
  3. Your CIRuns the checks and posts the resultsstays as it is