Glossary
Amend — folding staged changes (and, optionally, a new message) into the most recent commit, replacing it (chapter 13).
Bare repository — a repository with no working tree, used as a hub others clone and push to; the lab's stand-in remote (chapter 12).
Branch — a movable label on a commit; the line of history currently growing from that commit (chapter 6).
Checkout — switching the working tree to a branch or commit; in lazygit, Space on the branch's name (chapter 6).
Cherry-pick — copying a commit from where it sits onto the current branch, making a new commit with the same changes (chapter 13).
Command log — the small panel, bottom-right, listing the real git commands lazygit runs as it runs them (chapter 2).
Commit — a stored snapshot of the project with a message, an author and a parent; the unit history is made of.
Conflict view — the main panel's mode for a conflicted file, where each contested hunk is settled by picking a side (chapter 11).
Custom command — a user-defined keystroke that runs a shell or git command from inside lazygit (chapter 14).
Diff — the line-by-line difference between two states of a file: what was added, what was removed.
Diffstat — a commit's summary table of touched files and line counts, shown above its diff (chapter 7).
Drop — removing a commit from a branch's history in a rebase; also, deleting a stash entry without applying it (chapters 9 and 13).
Fast-forward — a branch update in which the new history simply extends the old, so the label walks forward with no merge needed (chapter 12).
Fetch — asking a remote what it has and recording the answer, changing no local branch (chapter 12).
Fixup — folding a commit into its parent and discarding the folded commit's message (chapter 13).
Hard reset — moving a branch and making index and working tree match the target, destroying uncommitted work in the way (chapter 10).
Hint bar — the line above the bottom of the screen naming the keys that matter in the current panel (chapter 2).
Hunk — one contested or changed block within a file's diff; the unit a conflict is settled in (chapter 11).
Index — the staging area: the set of changes assembled for the next commit. The first of the two status columns in the Files panel.
Interactive rebase — rewriting a run of commits — rewording, squashing, dropping, reordering — as one operation (chapter 13).
Keybindings popup — the filterable
list of the current panel's keys,
opened with ? (chapter 2).
Merge — joining two lines of history into one commit with two parents; a merge conflict is a join git declines to guess at (chapter 11).
Mixed reset — moving a branch and clearing the index to match, leaving the working files alone (chapter 10).
Patch — a commit's complete presentation: message, diffstat and diff (chapter 7).
Pop — applying a stash entry and removing it from the stash in the same motion (chapter 9).
Pull — fetch, then bring the local branch up to date with its remote counterpart (chapter 12).
Push — sending local commits to a remote so its branch points where yours does (chapter 12).
Reflog — git's diary of everywhere each branch has pointed; the foundation of undo and of recovery (chapter 8).
Remote — another copy of the repository that yours can fetch from and push to (chapter 12).
Revert — a new commit that undoes an old commit's changes, history intact (chapter 13).
Reword — changing a commit's message, which replaces the commit with a new one of a new hash (chapter 13).
Soft reset — moving a branch only, leaving index and files holding everything the moved-over commits had (chapter 10); the reset the undo key performs (chapter 8).
Squash — folding a commit into its parent, combining them into one (chapter 13).
Stage — to place a change into the index, ready for the next commit; Space, in the Files panel (chapter 5).
Stash — git's drawer for uncommitted work: changes swept away, tree left clean, work restorable later (chapter 9).
Sub-view — a temporary panel that replaces another with the contents of the thing opened by Enter — a branch's commits, a commit's files (chapter 7).
Tracked / untracked — a file git
knows about, versus one it has never
been told about (?? in the Files
panel) (chapter 4).
Upstream — the remote branch a local branch tracks, against which the ↓ and ↑ counts are measured (chapter 12).
Working tree — the files as they are on disk right now; the second of the two status columns in the Files panel.