Graph
Context menus
20 min read
Almost everything you can do with a commit, a branch, a tag or a stash is in its context menu: right-click it. This page is the index of all those menus, item by item, in the order they appear. Each item has a sentence and the link to the page that explains it in detail.
- Right-click the item (commit, graph label, left panel row, section header).
- From the keyboard: with the item focused (in the graph, the selected commit), Shift+F10 or the Menu key. Inside the menu, ↑/↓ and Home/End move between items, a letter jumps to the next item that starts with it, → (or Enter) opens a submenu and ← goes back from it, Enter chooses and Esc closes. See Accessibility.
- Gray items are disabled. Many say why after a dash, for example "Squash into the previous commit… — the previous commit isn't on the branch" or "Interactive rebase from this commit — there's a merge above it".
- Red items destroy something (discard, delete, hard reset) and ask for confirmation.
- Items with an arrow open a submenu.
- Conditional items only appear in certain states: with a GitLab or GitHub server registered, with other worktrees, on the current branch, with a bisect in progress and so on. The tables below give each one's condition.
- The names in the examples (
main,feature/login,origin,a1b2c3d,v1.4.0) are replaced by the ones in your repository. - The Block columns of the tables number the groups separated by lines in the full menu. A block whose items are all conditional may not appear.
- Edit message, drop, move commits, surgery and interactive rebase rewrite the current branch's history. The common warning is: "This rewrites history: this commit and the ones after it get new IDs. If they were already sent to the remote, you'll need to force push."
- Almost all actions go into the undo history (Ctrl+Z); push, deletions on the remote and other operations on the server don't. See Undo and redo.
Right-click a commit row in the graph (one that isn't the WIP row or a stash). On a commit that is part of a selection of several commits, it opens the selection menu (next section).
| Block | Item | What it does | Condition | See |
|---|---|---|---|---|
| 1 | Check out this commit | Checks out the commit, in detached HEAD. | Disabled if you're already in detached HEAD on this commit. | Checkout |
| 2 | Create worktree from this commit… | Creates a second working folder from the commit, which opens in a tab. | — | Create and open worktrees |
| 3 | Create branch here… | Creates a branch on the commit, typing the name right in the row (ghost branch) or in the dialog. | — | The commit graph |
| 3 | Reset main to this commit › Soft — keep all changes staged / Mixed — keep the files, clear the stage / Hard — discard all changes… | Moves the current branch to the commit. | In detached HEAD, the text says "Reset HEAD…". | Reset |
| 3 | Revert commit | Creates a commit that undoes this one, with a conflict preview first. | Disabled on a merge. | Revert |
| 3 | Edit commit message… | Changes the commit message. | Only simple commits on the current branch's line. | Edit message, drop and move commits |
| 3 | Create fixup for this commit… | Creates a fixup! commit with what is staged. | Only appears on commits on the current branch's line; disabled with nothing staged and in the cases listed below the table. | Commit surgery |
| 3 | Amend this commit with the staged changes… | Adds the staged changes to the commit and rebuilds the ones above. | Same. | Commit surgery |
| 3 | Squash into the previous commit… | Combines the commit with its parent. | Same; disabled without a previous commit on the branch. | Commit surgery |
| 3 | Split commit… | Splits the commit into two or more. | Same. | Commit surgery |
| 3 | Uncommit (bring the changes back to the stage)… | Removes the commit from the history and leaves the changes staged. | Same. | Commit surgery |
| 3 | Move changes to another commit… | Takes files, hunks or lines of this commit to another one on the branch. | Only appears on commits on the current branch's line; disabled with the reason (merge, first commit, outside the editable range, operation in progress). | Moving between commits |
| 4 | Drop commit… (red) | Removes the commit from the branch's history, with confirmation. | Only simple commits on the current branch's line. | Edit message, drop and move commits |
| 4 | Move commit down | Swaps the commit's place with the previous one. | Disabled if the previous one doesn't exist or is a merge. | Edit message, drop and move commits |
| 4 | Move commit up | Swaps the commit's place with the next one. | Only appears if there's a commit above it on the current branch; disabled if the one above is a merge. | Edit message, drop and move commits |
| 4 | Interactive rebase of the commit above this one… / Interactive rebase of the 3 commits above this one… | Opens the interactive rebase with the commits above this one on the current branch. | On a commit on the current branch's line. On HEAD itself: "Interactive rebase from this commit — no main commits above it"; with a merge on the way: "… — there's a merge above it". | Interactive rebase |
| 4 | Interactive rebase of main onto this commit… | Takes the current branch on top of this commit, through the interactive rebase screen. | Instead of the previous item, on a commit that isn't in the current branch's history. | Interactive rebase |
| 5 | One submenu per branch that points to this commit (feature/login ›, origin/feature/login ›) | That branch's actions: pull/push or checkout, merge, squash merge, rebase, rename, delete, copy the name, hide, solo, pin, favorite, fork point, archive. | Only on commits with a branch label. | "Local branch menu" and "Remote branch menu" sections, below |
| 6 | Cherry-pick this commit | Applies the commit on the current branch, with a conflict preview first. | Disabled if the commit is already in HEAD's history. | Cherry-pick |
| 6 | Cherry-pick into another worktree › | Applies the commit on another worktree's branch. | With other worktrees; doesn't appear on merges. | Moving changes and commits between worktrees |
| 6 | Move to another worktree › | Takes the commit to another worktree and removes it from here. | Same; only enabled on the commit at the top of the current branch. | Moving changes and commits between worktrees |
| 6 | Compare commit with working directory | Shows in the right panel what changed from the commit to the current files. | — | Comparing revisions |
| 6 | Compare with… | Picks the other side and opens the comparison (commits and files). | — | Comparing revisions |
| 6 | Browse the files of this commit | Opens the file tree of that version. | — | Tree and export |
| 6 | Export this commit as ZIP… | Generates a ZIP or tar.gz of the version (git archive). | — | Tree and export |
| 6 | Team commands › / My commands › | Custom commands with where: [commit]. | Only if any is defined. | Custom commands |
| 7 | Bisect: mark as bad… / Bisect: mark as good… | Starts a bisect with this commit as bad or good. | Without a bisect in progress. | Bisect |
| 7 | Bisect: mark as good / Bisect: mark as bad / Bisect: skip this commit | Marks the commit in the bisect in progress. | With a bisect in progress. | Bisect |
| 7 | Bisect: end… | Ends the bisect. | When the bisect has already found the commit (or can't continue). | Bisect |
| 8 | Create tag here… | Creates a lightweight tag on the commit. | — | Tags |
| 8 | Create annotated tag here… | Creates an annotated tag, with a message. | — | Tags |
| 9 | Create patch from commit… | Saves the commit as a .patch file. On a merge commit, the item is called Create patch of the merge (against the first parent)… and the patch carries what the merge brought into the first parent (applied with git am, it becomes a single commit). | — | Creating and applying patches |
| 9 | Copy commit SHA | Copies the full SHA ("SHA copied"). | — | — |
| 9 | Copy message | Copies the commit title ("Message copied"). | — | — |
| 9 | Copy link to this commit on remote: origin | Copies the commit's address on the remote's GitLab or GitHub site ("Link copied"). | Only with a remote whose address the app recognizes. | — |
| 9 | Copy Versora link to this commit | Copies a versora:// link that opens this commit in Versora. | — | versora:// links |
The bisect items are disabled with the reason "wait for the current operation" or "a rebase is in progress" when another operation is running. The surgery items show the reason when they don't apply: "a rebase is in progress", "detached HEAD: check out a branch", "nothing staged", "there are conflicted files", "merge commit", "the repository's first commit", "already in main", "no previous commit on the branch" or "the previous commit isn't on the branch".
Right-click a commit that is part of a selection of two or more commits (Ctrl+click or Shift+click). Disabled items say the reason; the list of reasons is in Multiple selection.
| Block | Item | What it does | Condition | See |
|---|---|---|---|---|
| 1 | Squash 3 commits… | Combines the commits into one. | Adjacent commits on the current branch's line, without a merge in the range. | Squash |
| 1 | Drop 3 commits… (red) | Removes the commits from the current branch. | Commits on the current branch's line, without a merge in the range. | Edit message, drop and move commits |
| 2 | Cherry-pick 3 commits | Applies the commits on the current branch, from oldest to newest. | Without merges and without commits that are already on the current branch. | Cherry-pick |
| 2 | Revert 3 commits | Undoes the commits, from newest to oldest. | Without merges. | Revert |
| 2 | Cherry-pick into another worktree › | Applies the commits on another worktree. | With other worktrees; selection without a merge or a stash. | Moving changes and commits between worktrees |
| 2 | Move to another worktree › | Takes the commits to another worktree. | Same; only enabled with the commits at the top of the current branch, in sequence. | Moving changes and commits between worktrees |
| 3 | Interactive rebase of 3 commits… | Opens the interactive rebase with the selected ones highlighted. | Commits on the current branch's line, without a merge in the range. | Interactive rebase |
| 4 | Compare a1b2c3d with d4e5f6a | Compares the oldest with the newest. | — | Comparing revisions |
| 4 | Team commands › / My commands › | Custom commands with where: [selection]. | Only if there are any. | Custom commands |
| 4 | Copy the 3 SHAs | Copies the SHAs, one per line, from newest to oldest. | — | Multiple selection |
| 4 | Clear selection | Goes back to a single commit. | — | Multiple selection |
Right-click a local branch that is not the current one: in the LOCAL section of the left panel, on the graph label, in the WORKFLOW, GITFLOW and STACKS sections and in the branches review. The "history" items (blocks 5 and 6) apply to the branch's tip commit.
| Block | Item | What it does | Condition | See |
|---|---|---|---|---|
| 1 | Pull (fast-forward) | Fetches from the remote and moves the branch forward to the upstream, without a checkout. | Disabled without an upstream. Only moves forward by fast-forward. | Pull |
| 1 | Push | Pushes the branch without a checkout; without an upstream, publishes it. | — | Push |
| 1 | Force push… (red) | Push with --force-with-lease, with confirmation. | — | Force push |
| 1 | Set upstream… | Picks the remote branch this one tracks. | — | Upstream |
| 2 | Check out feature/login | Checks out the branch. | — | Checkout |
| 2 | Merge feature/login into main | Merges the branch into the current one, with a conflict prediction first. | Only with a branch checked out (not in detached HEAD). | Merge and rebase |
| 2 | Squash merge feature/login into main… | Brings the changes in as a single commit, with the message you edit. | Same. | Squash |
| 2 | Rebase main onto feature/login | Reapplies the current branch on top of this one. | Same. | Merge and rebase |
| 2 | Interactive rebase of main onto feature/login… | The same, through the interactive rebase screen. | Same. | Interactive rebase |
| 3 | Create merge request from feature/login… | Opens the MR form (or pull request, on GitHub). | With the remote's GitLab or GitHub server registered; the branch is already on the remote; it isn't the project's default branch. | Merge requests |
| 3 | Push feature/login and create merge request | Pushes the branch and opens the MR form. | Same; the branch wasn't pushed or is ahead of the remote. | Merge requests |
| 3 | Open merge request !12 in browser | Opens the MR that already exists for the branch. | Instead of the two previous items, when there's already an open MR. | Merge requests |
| 4 | Branch stack › (or Branch stack (2/3) ›) | New stacked branch, stack onto another, restack, push, sync and the other stack actions. | Always (the contents change if the branch is in a stack). | Stacks |
| 4 | Commit overlap of feature/login… | Shows which of the branch's commits touch the same lines. | — | Commit overlap |
| 4 | Browse the files of feature/login | Opens the file tree of the branch tip. | — | Tree and export |
| 4 | Export feature/login as ZIP… | Generates a ZIP or tar.gz of the branch tip. | — | Tree and export |
| 4 | Team commands › / My commands › | Custom commands with where: [branch]. | Only if there are any. | Custom commands |
| 4 | Checkout › feature/login / origin/feature/login / this commit | Checks out the branch, the remote branch with the same name or the tip commit (detached HEAD). | The remote one only appears if it exists. | Checkout |
| 4 | Create worktree from › feature/login / this commit | Creates a worktree on the branch or on the tip commit. | — | Create and open worktrees |
| 5 and 6 | The history items of the commit menu (from Create branch here… to the interactive rebase) | Same items and conditions as blocks 3 and 4 of the "Commit menu", for the tip commit. | — | "Commit menu" section, above |
| 7 | Gitflow: finish feature… | Finishes the Gitflow feature, release or hotfix. | Branch with a Gitflow prefix and no workflow preset chosen. | Gitflow |
| 7 | Finish Feature… / Release a version of develop… | Finishes the branch through the repository's workflow, or releases a version from a permanent branch. | With a workflow preset chosen and the branch inside it. | Repository workflow |
| 7 | Promote staging to production… | Takes the environment to the next one, in GitLab flow. | GitLab flow preset and an environment branch that isn't the last one. | Repository workflow |
| 7 | Workflow health: 2 warnings… | Shows the workflow warnings for this branch. | With workflow health warnings for the branch. | Workflow health |
| 7 | Apply patch… | Applies a .patch or .diff file. | — | Creating and applying patches |
| 7 | Apply patch from clipboard… | Applies the copied patch, with a preview. | — | Creating and applying patches |
| 7 | Rename feature/login… | Renames the local branch. | — | Create, rename and delete |
| 7 | Delete feature/login… (red) | Deletes the local branch, with confirmation. | — | Create, rename and delete |
| 8 | Open this branch's worktree (loja-web-login) | Opens the tab of the worktree where the branch is checked out. | Only if the branch is checked out in another worktree. | Create and open worktrees |
| 8 | Remove this branch's worktree… (red) | Removes that worktree. | Same. | Remove, lock and unlock |
| 8 | Remove worktree and delete branch feature/login… (red) | Removes the worktree and the branch. | Same. | Remove, lock and unlock |
| 8 | Delete origin/feature/login… (red) | Deletes the branch on the remote, for everyone. | A pair of items for each remote with a branch of the same name. | Create, rename and delete |
| 8 | Delete feature/login and origin/feature/login… (red) | Deletes the local and the remote one at once. | Same. | Create, rename and delete |
| 9 | Copy branch name | Copies the name. | — | — |
| 9 | Copy commit SHA | Copies the tip's SHA. | — | — |
| 9 | Copy link to branch: origin/feature/login | Copies the branch's address on the remote's site. | With an upstream (or a remote branch of the same name) on a remote whose address the app recognizes. | — |
| 9 | Copy link to this commit on remote: origin | Copies the address of the tip commit on the remote's site. | With a recognized remote. | — |
| 9 | Copy Versora link to branch: feature/login | Copies a versora:// link to the branch (with the upstream's name, if there is one). | — | versora:// links |
| 9 | Create patch from commit… | Saves the tip commit as a .patch. If the tip is a merge commit, the item is Create patch of the merge (against the first parent)…. | — | Creating and applying patches |
| 10 | Hide in graph / Show in graph | Removes the branch from the graph or brings it back. | — | Search and filters |
| 10 | Solo — show only this branch / Stop solo | Puts the branch in solo or takes it out. | — | Search and filters |
| 10 | Pin to Left / Unpin from Left | Reserves the left lane for the branch. | — | Navigating the graph |
| 10 | Add to favorites / Remove from favorites | Marks the branch for the Favorites preset. | — | Search and filters |
| 10 | Show fork point | Goes to the commit the branch started from and marks it. | — | Fork point |
| 10 | Archive branch / Unarchive branch | Hides the branch from the panel and the graph without deleting it, or brings it back. | — | Archiving branches |
| 11 | Compare commit with working directory | Compares the branch tip with the current files. | — | Comparing revisions |
| 11 | Compare feature/login with… | Picks the other side and opens the comparison. | — | Comparing revisions |
| 11 | What enters main when merging feature/login | Opens directly the comparison of what the merge would bring to the current branch. | Only with a different branch checked out. | Comparing revisions |
| 12 | Create tag here… / Create annotated tag here… | Creates a tag on the branch tip. | — | Tags |
The menu of the checked-out branch is the same as the local branch menu, with these differences:
| Difference | Detail | See |
|---|---|---|
| The first item is the pull in the mode set in the preferences | Pull (fast-forward if possible), Pull (fast-forward only) or Pull (rebase), according to Preferences › General. | Pull |
| Push and Force push… | Push the current branch, with the checks before the push. | Push |
| There's no Check out…, merge, squash merge or rebase onto itself | — | — |
| Apply pending fixups / Apply 2 pending fixups | Combines the fixup! commits with their commits. Disabled with "— no pending fixup!". | Commit surgery |
| New version… | Calculates the next version, writes the changelog and creates the tag. Only on the main branch (main, master, trunk or the Gitflow main branch) and on release/* and hotfix/*. | New version and changelog |
| In Branch stack › | On a stack branch, Check out the branch below and Check out the branch above also appear. | Stacks |
| Disabled | Delete main…, Delete main and origin/main…, Checkout › main, Create worktree from › main and Archive branch (not for the current branch). | — |
| Missing | What enters main when merging main. | — |
Right-click a remote branch: in the REMOTE section of the left panel or on the graph label of a branch that only exists on the remote.
| Block | Item | What it does | Condition | See |
|---|---|---|---|---|
| 1 | Check out feature/login | Checks out the remote branch: creates the local branch tracking the remote one or uses the one that already exists. | — | Checkout |
| 1 | Merge origin/feature/login into main | Merge into the current branch, with a conflict prediction first. | Only with a branch checked out. | Merge and rebase |
| 1 | Squash merge origin/feature/login into main… | Squash merge into the current branch. | Same. | Squash |
| 1 | Rebase main onto origin/feature/login | Reapplies the current branch on top of the remote one. | Same. | Merge and rebase |
| 1 | Interactive rebase of main onto origin/feature/login… | The same, through the interactive rebase screen. | Same. | Interactive rebase |
| 2 | Create merge request from origin/feature/login… / Open merge request !12 in browser | Creates the MR from the branch that only exists on the remote, or opens the existing one. | With the remote's server registered; only on the integration's remote; not on the project's default branch. | Merge requests |
| 3 | Commit overlap of origin/feature/login… | The branch's commits that touch the same lines. | — | Commit overlap |
| 3 | Browse the files of origin/feature/login | File tree of the tip. | — | Tree and export |
| 3 | Export origin/feature/login as ZIP… | ZIP or tar.gz of the tip. | — | Tree and export |
| 3 | Create worktree from › origin/feature/login / this commit | Worktree from the remote branch or from the tip commit. | — | Create and open worktrees |
| 4 and 5 | The history items of the commit menu | For the remote branch's tip commit. | — | "Commit menu" section, above |
| 6 | Delete origin/feature/login… (red) | Deletes the branch on the remote, for everyone. | — | Create, rename and delete |
| 6 | Clean up merged branches on origin… | Opens the cleanup of that remote's already merged branches. | — | Branch cleanup |
| 7 | Copy branch name, Copy commit SHA, Copy link to branch: origin/feature/login, Copy link to this commit on remote: origin, Copy Versora link to branch: feature/login, Create patch from commit… | As on the local branch. | The site links only with a recognized remote. | versora:// links |
| 8 | Hide in graph, Solo — show only this branch, Pin to Left, Add to favorites, Show fork point, Archive branch | As on the local branch. | — | Search and filters |
| 9 | Compare commit with working directory, Compare origin/feature/login with…, What enters main when merging origin/feature/login | As on the local branch. | The last one only with a branch checked out. | Comparing revisions |
| 10 | Create tag here… / Create annotated tag here… | Tag on the remote branch's tip. | — | Tags |
Right-click a tag: in the TAGS section of the left panel or on the graph label.
| Block | Item | What it does | Condition | See |
|---|---|---|---|---|
| 1 | Check out the commit at v1.4.0 | Checks out the tag's commit, in detached HEAD. | — | Tags |
| 1 | Create branch here… | Creates a branch from the tag. | — | Create, rename and delete |
| 2 | Push v1.4.0 to › origin (… all remotes) | Pushes the tag to one remote or to all of them. | Disabled without remotes; all remotes only with more than one. | Tags |
| 2 | Delete v1.4.0 locally (red) | Deletes the local tag. | — | Tags |
| 2 | Delete v1.4.0 from remote › origin (… all remotes) (red) | Deletes the tag on the remote, for everyone, with confirmation. | Disabled without remotes. | Tags |
| 2 | Create release on GitLab… (or on GitHub…) | Creates the Release for an already pushed tag, with the notes from the changelog or the tag message. | With the remote's server registered. | New version and changelog |
| 3 | Browse the files of v1.4.0 | File tree of the version. | — | Tree and export |
| 3 | Export v1.4.0 as ZIP… | ZIP or tar.gz of the version. | — | Tree and export |
| 4 | Compare v1.4.0 with… | Comparison with another revision. | — | Comparing revisions |
| 4 | What enters main when merging v1.4.0 | What the tag's merge would bring to the current branch. | Only with a branch checked out. | Comparing revisions |
| 5 | Copy tag name | Copies the name. | — | — |
| 5 | Copy Versora link to tag: v1.4.0 | Copies a versora:// link to the tag. | — | versora:// links |
Right-click a stash: in the STASHES section of the left panel, on the stash label or on the stash's row in the graph.
| Block | Item | What it does | Condition | See |
|---|---|---|---|---|
| 1 | Apply stash | Applies the saved changes and keeps the stash. It goes into Ctrl+Z, which also deletes the files the stash created. | — | Stash |
| 1 | Apply and remove (pop) | Applies the stash and takes it off the list. It doesn't go into Ctrl+Z. | — | Stash |
| 1 | Apply part… | Picks files, hunks or lines of the stash to apply. | — | Stash |
| 1 | Edit stash message… | Changes the message; the stash becomes the most recent in the list. | — | Stash |
| 1 | Export as patch › Copy the patch / Save to file… | The whole stash as a patch. | — | Stash |
| 2 | Delete stash… (red) | Deletes the stash, with confirmation. | — | Stash |
Right-click the // WIP row of the graph (the uncommitted changes of this worktree).
| Block | Item | What it does | Condition | See |
|---|---|---|---|---|
| 1 | Stage all changes | Stages everything (except the files on the "don't commit" list). | — | Staging |
| 1 | Stash changes… | Saves the changes in a stash, with a title and a description. | — | Stash |
| 1 | Snapshot (save without removing anything)… | Saves a copy in a stash and leaves the files as they are. | — | Stash |
| 1 | Stash only the staged changes… | Stash of the staged changes only. | Disabled with nothing staged. | Stash |
| 1 | Apply patch from clipboard… | Applies the copied patch, with a preview. | — | Creating and applying patches |
| 1 | Move the changes to worktree › | Takes the changes to another worktree. | Only with other worktrees. | Moving changes and commits between worktrees |
| 2 | Discard all changes… (red) | Discards everything, staged or unstaged, and deletes the untracked files, with confirmation. | — | Discarding changes |
Right-click a "// WIP" row of another worktree of the repository (the one that shows the worktree's name in the BRANCH / TAG column).
| Block | Item | What it does | Condition | See |
|---|---|---|---|---|
| 1 | Open worktree | Opens the worktree in a tab (the same as double-clicking the row). | — | Each worktree's WIP in the graph |
| 1 | Open the terminal in this worktree | Opens the integrated terminal in the worktree's folder. | — | Integrated terminal |
| 2 | Bring the changes over here… | Brings that worktree's changes to this one. | — | Moving changes and commits between worktrees |
| 2 | Send the changes from here to there… | Takes this worktree's changes to that one. | Disabled without changes here. | Moving changes and commits between worktrees |
| 2 | Prepare (.worktreeinclude and setup)… | Copies the chosen ignored files and runs the setup. | — | Preparing the new worktree |
| 3 | Lock worktree… / Unlock worktree | Locks or unlocks the worktree. | — | Remove, lock and unlock |
| 4 | Remove this worktree… (red) | Removes the worktree's folder, checking first what would be lost. | — | Remove, lock and unlock |
| 4 | Remove worktree and delete branch feature/login… (red) | Removes the worktree and its branch. | Only if the worktree is on a branch. | Remove, lock and unlock |
The items that depend on the folder are disabled if it disappeared from disk.
Right-clicking a label in the BRANCH / TAG column opens the menu of whatever the label represents and selects its commit:
| Label | Menu |
|---|---|
| Local branch (including the one that combines local and remote, with both icons) | Local branch menu (or current branch menu) |
| Branch that only exists on the remote | Remote branch menu |
| Tag | Tag menu |
| Stash | Stash menu |
| HEAD (detached HEAD) | Commit menu |
With the mouse over the column, all of the commit's labels appear, one per line: right-click the one you want. While the menu is open, the list stays visible. See The commit graph.
Right-click the title of a left panel section or a remote's folder.
LOCAL
| Block | Item | What it does | See |
|---|---|---|---|
| 1 | Create branch… | Creates a branch from HEAD. | Create, rename and delete |
| 2 | Clean up branches… | Opens the cleanup of the already merged branches. | Branch cleanup |
| 2 | Fetch --prune and clean up branches… | Updates the remotes (removing the branches that disappeared) and opens the cleanup. | Branch cleanup |
| 2 | Review branches… | Opens the review of all branches against a base. | Branches review |
| 2 | Review stale branches… | The same screen, filtered on the stale branches. | Branches review |
| 3 | Hide all local branches / Show all local branches | Hides or shows the whole section in the graph (with the section partially hidden, both). | Search and filters |
REMOTE
| Item | What it does | See |
|---|---|---|
| Hide all remotes / Show all remotes | Hides or shows all remote branches in the graph. | Search and filters |
A remote's folder (for example origin, inside REMOTE)
| Block | Item | What it does | Condition | See |
|---|---|---|---|---|
| 1 | Fetch origin | Fetches only from that remote. | — | Pull |
| 2 | Edit origin… | Changes the remote's name or URL. | — | Remotes |
| 2 | Copy remote URL | Copies the URL ("URL copied"). | — | Remotes |
| 2 | Open origin in the browser | Opens the project on the remote's site. | Only with a URL the app recognizes. | Remotes |
| 3 | Clean up merged branches on origin… | Cleanup of that remote's merged branches. | — | Branch cleanup |
| 3 | Hide all branches of origin / Show all branches of origin | Hides or shows that remote's branches in the graph. | — | Search and filters |
| 4 | Add remote… | Registers another remote. | — | Remotes |
| 4 | Remove origin… (red) | Removes the remote and its remote-tracking branches (the repository on the server isn't affected). | — | Remotes |
TAGS
| Item | What it does | See |
|---|---|---|
| Hide all tags / Show all tags | Hides or shows the tags in the graph. | Search and filters |
STASHES
| Item | What it does | See |
|---|---|---|
| Hide all stashes / Show all stashes | Hides or shows the stashes in the graph. | Search and filters |
The headers of the other sections have their own menus, explained on their pages: STACKS (Stacks), WORKFLOW (Repository workflow) and ARCHIVED (Archiving branches). A row in the WORKTREES section opens the worktree menu (Create and open worktrees).
Right-clicking the header of the graph columns (BRANCH / TAG, GRAPH, MESSAGE, AUTHOR, DATE, SHA) opens the Graph columns window: show, hide and reorder columns, the commit description and the overview bar. See The commit graph.
When you drag a branch and drop it onto another branch (or onto a remote), a menu opens with the possible actions for that combination: fast-forward, merge, rebase or push. The items and the conditions are in Dragging branches and commits.