Appearance
Git and pull requests
Pomelo commits, pushes and reviews across every repo of a workspace at once.
The Git panel
The Git panel works on all of the workspace's repos at once, in three tabs:
- Changes - a card per repo with the files the branch changed, Staged and Not staged. Type a message and Commit makes one commit per repo that has staged files, all with the same message; Amend amends them. The footer names the branch, how many repos are on it and what is left to push. The overflow menu has Stash All, Stash Pop, Discard Tracked Changes, the commit options Amend, Signoff and Skip Hooks, and Pull, Push and Fetch All; the view options show the files as a Tree or a List, grouped by Staged & Not Staged or not at all.
- Remote - a card per repo that says what to do next (Push, Publish, Pull): what is Not pushed, Not published or On origin, not pulled, the files changed on the branch with how many you have reviewed, and the branch's pull request: its title, checks, reviews, and Merge conflict when it has one. Create Pull Request opens GitHub's page for a pushed branch.
- History - the branch's commits, By Repo or as One Timeline (the view options).
The sync button follows the branch: Publish, Push, Pull, Sync or Up to date. Right-click a file for Open Diff, Open File, Mark as Reviewed, Copy Path, Copy Relative Path and Discard Uncommitted Changes, and a repo's remote for Fetch, Pull, Pull (Rebase), Push and Force Push.
Changes7Remote2History
api+51-4
Not staged3
users_controller.rbapp/controllers+6-1
schema.rbdb+3-3
users_spec.rbspec/requests+42
web+49-61
Not staged4
logo.pngpublicbinary
UserList.tsxsrc/users+18-4
legacyTable.csssrc/users-57
usePagination.tssrc/users+31
Staging part of a file
Open a changed file's diff and a strip sits over the change under the caret: Stage hunk (or Unstage hunk), Restore, and the next and previous change. Select some lines inside a change first and the button reads Stage N lines: only those lines go into the commit. Y stages the hunk or the selected lines and moves on, Y unstages them.
Merge conflicts
When a pull leaves conflicts, each conflict in the editor shows both sides tinted, with Use the current side, Use the incoming side, Use Both, and Ask Claude to merge, which starts a side agent that may edit the file. Once no conflict markers are left, Mark Resolved in the file's menu in the Git panel stages it; the commit stays blocked until every conflicted file is resolved.
View Diff opens the branch's whole diff with every hunk expanded. The two buttons in its tab bar switch between unified and split (side-by-side, when the pane has room for it); the choice is kept for every diff and matches Split Diff in the editor's menu.
sessions_controller.rbclass SessionsController
1class SessionsController < ApplicationController1class SessionsController < ApplicationController
2 MAX_ATTEMPTS = 5
23
3 def create4 def create
4 user = User.find_by(email: params[:email])5 user = User.find_by(email: params[:email])
56
6 if user && user.authenticate(params[:password])7 if throttled?(params[:email])
8 return render json: { error: "too many attempts" }, status: :too_many_requests
9 end
10
11 if user&.authenticate(params[:password])
7 session[:user_id] = user.id12 session[:user_id] = user.id
8 remember(user)
9 end13 end
10 end14 end
11end15end
1216
Pull requests
PR data comes from GitHub's API directly, no gh CLI needed. Diffs and changed files are read from your local worktrees. Pomelo reads the token from GH_TOKEN or GITHUB_TOKEN in its environment, otherwise from the project's secret named github: add it in the Services panel's Secrets tab, for example with the value of gh auth token. The token only needs to read the repositories' pull requests to show them; merging and reviewing need a token that can write pull requests. After a push, the Git panel offers Create Pull Request, which opens GitHub's page.
Click a pull request in the Remote tab to open it in a tab: its state, what blocks it (failing or running checks, changes requested, conflicts), Overview with reviewers, labels, the description and the conversation, and Checks.
- Merge - the merge box says Ready to merge or why merging is blocked (a draft, conflicts, failing checks, changes requested, a required review, branch protection). Pick Squash and merge, Create a merge commit or Rebase and merge and confirm. Pomelo merges exactly the commit shown, so a newer push is never merged unseen.
- Review - reply to a thread, Resolve or Unresolve it, and submit a review as Comment, Request changes or Approve. Your reply shows at once; if GitHub refuses it, a notice says why and the tab shows GitHub's state again.
