Why review in a git client
In the browser you can’t see the history of a file, run the tests or check where a function is used. For that you need to switch to another app and check out the branch.
In gitto the pull request opens in the same window as the repository. The diff comes from git, so it loads fast, and the rest of the repository is one shortcut away.
Setup
Install the GitHub CLI and run gh auth login once, or install the GitLab CLI and run
glab auth login. Repositories with a GitHub or GitLab remote then have a Pull Requests entry in the sidebar
(⌘3 on macOS, Ctrl+3 on Windows and Linux).
List of pull requests
The list shows open pull requests, yours, the ones waiting for your review, or closed ones. Each row has its checks, review state, labels and size. You can filter by title, author, branch, label or number. The list refreshes while you work.
Branches with an open pull request show its number in the sidebar, and their menu has Show Pull Request.
In the Home tab you can connect your GitHub and GitLab accounts. Needs you then lists the pull requests in all your projects that wait for your review or are assigned to you.
Reading the changes
Changes shows the diff of all files on one page, like on GitHub. The file tree on the side follows the file you are reading.
- Files marked as viewed are folded. ⌘E marks the current file as viewed and goes to the next one.
- You can show all changes, only the changes since your last review, or the changes of one commit.
- Review threads are shown in the diff under their lines, with suggestions, reactions, replies and Resolve. Resolved threads are folded into one line.
- ⌥⌘↑ and ⌥⌘↓ go to the previous or next unresolved thread.
Commenting
Select lines with the mouse or with ↑↓ and ⇧↑↓, press Return and write your comment.
- ⌘Return adds the comment to your review. ⌥⌘Return posts it right away.
- ⌘G inserts a suggestion with the selected lines, so you can edit them.
- You can apply suggestions from others to your checked out copy.
When you’re done, ⌘⇧Return opens the review. Write a summary and pick Comment, Approve or Request changes. Your pending comments are sent with it.
Merging
The Merge card on the overview lists what blocks the merge, for example missing approvals, failing checks or conflicts. It offers the action that fits, like approve and automerge, rebase and merge, or merge now (⌘⇧M). Its menu has the other actions, the merge method and deleting the branch. gitto remembers these choices per repository.
On GitHub, stacked pull requests (each one based on the branch of the one below) are shown as a stack, and the Merge card tells you which ones to merge first.
Other features
- The overview shows the description, comments, pushes (“new since your review”) and reviews in one timeline, with reviewers, assignees, checks and labels on the side.
- Commits lists the commits of the pull request. Click one to see only its changes.
- Check Out, Ready for Review, Convert to Draft, Close, Reopen and Open in Browser are each one click.
- New Pull Request lets you pick the base branch, title, description and draft state. It pushes the branch first if needed.
- A bar at the bottom shows the shortcuts of the current view. ⌘/ lists all of them.
To let Claude Code fix what the review found, use Open in Claude Code. It starts a session on the pull request’s branch. See gitto and Claude Code.
Questions
Does gitto store my GitHub or GitLab token?
No. gitto uses the GitHub CLI (gh) and the GitLab CLI (glab) on your computer, with the sign-in you already have there. gitto doesn’t see or store a token.
Does it work with GitLab?
Yes. GitLab merge requests are shown like pull requests. Discussions on the diff are shown as threads, approvals as reviews and pipeline jobs as checks.
Does it work for repositories over SSH?
Yes. gh and glab run on your computer, so you don’t need to install anything on the server. See repositories over SSH.
Do I need to check out the branch to review it?
No. gitto fetches the commits of the pull request without creating a branch. Use Check Out if you want to run the code.
Can I open a pull request link from the browser in gitto?
Yes. Paste it into Quick Launch, pass it on the command line, or replace https:// with gitto://. See pull request links.