Skip to content

Limits

What lazygit cannot do, and what it must not be asked to do — the chapter the rest of the guide has been promising.

It displays the model; it does not teach it

Every label on the screen is git's own vocabulary: index, upstream, reflog, fast-forward. A reader who does not yet know what the index is can stage files happily for a week and still be ambushed by the first state the panels show that they cannot interpret — a detached HEAD, a half-finished rebase, a conflict inside a cherry-pick. lazygit is a windscreen, not a driving instructor: the view is superb, and the driving is still yours. This guide has taught the tool against just enough of the model to work; the model itself is the Git for Mere Mortals guide's subject, and chapter 13's surgery in particular should not be practised from keystrokes alone.

Conflicts it cannot settle

Chapter 11's conflict view settles conflicts that are choices: this side, that side, or both, hunk by hunk. Three kinds fall outside it:

  • The right answer is new text. Neither side is correct; the truth is a blend someone must write. The conflict view picks; it does not compose. Edit the file (the Files panel's e hands it to your editor), remove the markers, and let lazygit stage the result.
  • Binary files. Images, archives, compiled output: there are no lines to fence, and "conflict" means two whole versions exist. The choice is whole-file — yours or theirs — made with git checkout --ours / --theirs or the merge options, and the real fix is upstream of git: files two people must edit at once should not be binary, or should not be in git at all.
  • Conflicts inside other operations. A rebase, cherry-pick or stash application can stop mid-flight with conflicts in a state more tangled than a merge's. lazygit shows them and the same view largely applies, but the frames differ — you are finishing an operation, not just a file — and the exits (continue, skip, abort) belong to the operation. Learn them on a practice repository, as the lab learned merges, not during the real one.

The resolution that equals HEAD

One limit the lab discovered rather than read (chapter 11 tells the story): concluding a merge whose result is identical to the current HEAD defeats the ordinary commit key, which reports "No files staged" — there is genuinely no difference to commit. The merge concludes through its own menu instead. It is a small seam between lazygit's commit flow and git's merge state, kept here because limits chapters are where a tool's seams belong: the program is a faithful face on git, and git's state machine has corners no face can smooth away entirely.

Credentials are not its business

lazygit holds no keys, stores no passwords, and keeps no accounts. Every network operation is git asking your system — SSH agent, credential helper, operating system keychain — exactly as the command line would (chapter 12). This is a virtue with a price: a reader whose git push fails for authentication reasons will find no setting in lazygit to fix it, because there is none to find. Fix the credential where git looks for it; the face will follow.

Size and speed

The screen is a living query against the repository: every panel refresh is git reporting status, log and diffs. In ordinary repositories that is instant. In a monorepo with a hundred thousand files, git status alone takes seconds on any tool, and an interface that runs it constantly wears the cost constantly. lazygit mitigates (it refreshes judiciously, and can be told to use git's filesystem monitor), but it cannot repeal the arithmetic. On such repositories the command line's pay-per-command model can honestly be the calmer tool — chapter 15's division of labour, arrived at from the other direction.

One repository, one person, one screen

lazygit shows your repository from your seat. It has no notion of other people's copies beyond what the remotes report; no pull requests, reviews or discussions, because those live on hosting services, in other tools. It does not watch your back while you type in another window — changes made outside it appear on its next refresh, which can surprise a reader who expects the screen to be a live mirror rather than a frequently repainted portrait. And like every faithful face, it inherits its subject's failure modes whole: a corrupt repository, a git bug, a lock file left by a crashed command arrive on its screen as git's own errors, unexplained beyond git's words. The command log (chapter 2) shows which command was speaking; the rest is git's country, and this guide's scope ends at its border, deliberately.