Branches
Press 3 to open the branches view. It opens on the branch you are on. tab switches between the two panes.
small ⎇ main ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ │ Commit — de67d15 ││ Branches (5) │ │──────────────────────────────────────││──────────────────────────────────────│ │commit de67d153e7d3c55ff091005a1b86810││ behind ↓1 2020-01-01 base: files wi…│ │Author: fixture <fixture@example.com> ││ feature 2020-01-01 add feature.txt │ │Date: 2020-01-01 00:00:00 +0000 ││ gone-upstream gone 2020-01-01 merge…│ │Parent: ccafee9 2a99dbd ││* main ↑2 2020-01-01 merge feature in…│ │ ││ synced = 2020-01-01 merge feature i…│ │merge feature into main ││ │ │ ││ │ │feature.txt ││ │ │@@ -0,0 +1 @@ ││ │ │ 1+feature content ││ │ │ ││ │ │ ││ │ │ ││ │ │ ││ │ │ ││ │ │ ││ │ │ ││ │ │ ││ │ ╰──────────────────────────────────────╯╰──────────────────────────────────────╯ b checkout enter log branch space tip in log tab pane 1/2/3/4 view ? help
Branches
Section titled “Branches”The right pane lists local branches. Remote-tracking refs are not listed. The left pane shows the tip commit of the selected branch.
Tracking column
Section titled “Tracking column”Each row shows how far the branch has drifted from its upstream.
| Marker | Meaning |
|---|---|
↑2 |
2 commits ahead |
↓1 |
1 commit behind |
↑2↓1 |
both |
dim = |
in sync with the upstream |
gone |
the upstream ref was deleted |
| blank | the branch tracks nothing |
Checking out
Section titled “Checking out”Press b to check out the branch under the cursor. bubblegit runs git switch.
There is no confirmation step. A switch is reversible, and git itself refuses the one case that would lose work. When git refuses, the pane shows its message.
b means nothing in other views.
Reading a branch’s history
Section titled “Reading a branch’s history”Press enter to open the log on the branch under the cursor without checking it out. esc there comes back to this list.
Press space instead to open the log on every ref with the cursor already on that branch’s tip: the branch in the context of the rest of the history, where enter shows it alone.