ErrLookup › jesseduffield/lazygit
jesseduffield/lazygit
simple terminal UI for git commands · Go · 418 source files
Analyzed at c477a2959b on 2026-08-15. 136 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Git version must be at least %s. Please upgrade your git ver | exception | critical | git, version-check, startup, environment |
| Lazygit does not support bare repos. | exception | error | git, bare-repo, worktree, startup |
| unexpected git output | exception | warning | git, commit-metadata, parsing, edge-case |
| This does not seem to be a git flow branch | exception | warning | git-flow, branch-naming, validation |
| index outside of range of commits | exception | error | internal, index-out-of-range, model-staleness, rebase |
| Feature not available for users using GPG. If you are using | exception | warning | gpg, rebase, config, interactive |
| You are midway through another rebase operation. Please abor | exception | error | rebase, concurrency, state-conflict, interactive |
| Feature not available for users using GPG. If you are using | exception | warning | gpg, reword, rebase, config |
| index outside of range of commits | exception | error | internal, index-out-of-range, rebase, model-staleness |
| Must specify a remote if specifying a branch | exception | error | git, push, upstream, validation |
| Expected renamed file | exception | error | git, rename, validation, working-tree |
| Could not find deleted file or new file for file rename | exception | error | git, rename, model-staleness, working-tree |
| Nested rename found | exception | info | git, rename, defensive, edge-case |
| Unsupported git service | exception | warning | hosting-service, config, remote-url, self-hosted |
| Failed to parse repo information from url | exception | warning | hosting-service, url-parsing, remote-url, regex |
| <dynamic: combined stdout/stderr of failed command> | exception | error | git, subprocess, error-wrapping, os-commands |
| <dynamic: stderr of failed command> | exception | error | git, subprocess, stderr, streaming |
| <dynamic: stdout of failed command> | exception | error | git, subprocess, stdout, streaming |
| Command exited with non-zero exit code, but no output | exception | error | git, subprocess, exit-code, debugging |
| <dynamic: joined stderr of failed piped commands> | exception | error | git, subprocess, pipeline, stderr |
| While attempting to write back migrated user config to %s, a | exception | error | config, filesystem, migration, permissions |
| You should have an allBranchesLogCmds defined as a sequence! | validation | error | config, yaml, migration |
| gui.sidePanels: a side panel must have at least one tab. | validation | error | config, yaml, validation, gui |
| gui.sidePanels must not be empty. | validation | error | config, yaml, validation, gui |
| gui.spinner.frames must not be empty. | validation | error | config, yaml, validation, spinner |
| All gui.spinner.frames entries must have the same width. | validation | error | config, unicode, validation, spinner |
| git.diffRenderers: 'command' must be specified for diff rend | validation | error | config, validation, diff, yaml |
| git.diffRenderers: 'args' cannot be used with diff renderer | validation | error | config, validation, diff |
| git.diffRenderers: 'args' cannot be used with diff renderer | validation | error | config, validation, diff, extdiff |
| git.diffRenderers: 'command' cannot be used with diff render | validation | error | config, validation, diff |
| You have already checked out this branch | exception | info | git, branches, ui, checkout |
| Cannot open a pull request for a branch with no upstream | exception | warning | git, pull-request, upstream, branches |
| This branch doesn't exist on remote. You need to push it to | exception | warning | git, pull-request, remote, branches |
| Cannot fast-forward a branch with no upstream | exception | warning | git, fast-forward, upstream, branches |
| Cannot fast-forward a branch whose remote is not registered | exception | warning | git, fast-forward, upstream, remote-refs |
| Cannot fast-forward a branch with commits to push | exception | warning | git, fast-forward, diverged-branch, unpushed-commits |
| No pull request found for this branch | exception | warning | git, pull-request, model-race, hosting-integration |
| You cannot commit without a commit message | exception | warning | git, commit-message, history, io-error |
| You have local modifications for the file(s) you are trying | exception | warning | git, checkout-file, dirty-working-tree, data-safety |
| Cannot change context while in patch building mode because w | exception | info | lazygit, patch-building, context-size, feature-limitation |
| No patch created yet. To start building a patch, use 'space' | exception | info | lazygit, patch-building, empty-state, menu-guard |
| Patch is still empty. Add some files or lines to your patch | exception | info | lazygit, patch-building, empty-patch, menu-guard |
| No config file found | exception | info | lazygit, config, xdg, first-run |
| Cannot stage/unstage directory containing files with inline | exception | error | git, staging, merge-conflicts, data-safety |
| Nothing to stage: the parent repo can only stage a new submo | exception | info | git, submodule, staging, nested-repo |
| Cannot ignore .gitignore | exception | info | git, gitignore, self-reference-guard, files-panel |
| Cannot exclude .gitignore | exception | info | git, gitignore, exclude, self-reference-guard |
| There's no commit to amend. | exception | warning | git, amend, empty-repo, initial-commit |
| You have no files to stash | exception | info | git, stash, clean-tree, empty-state |
| You have no tracked/staged files to stash | exception | info | git, stash, staged-changes, precondition |
| Password, passphrase and/or username wrong | exception | error | git, authentication, fetch, error-mapping, network |
| You need to install git-flow and enable it in this repo to u | exception | warning | git, git-flow, configuration, extension-missing |
| Some of the selected branches are checked out by other workt | exception | warning | git, worktrees, branches, bulk-delete, guard |
| You cannot commit without a commit message | exception | warning | git, commit, validation, empty-input |
| No changed files | exception | warning | git, fixup, blame, diff, validation |
| No base commits found | exception | warning | git, fixup, blame, history-depth, shallow-clone |
| Base commit is not in current view | exception | warning | git, fixup, commit-window, main-branch, limits |
| The base commit for this change is already on the main branc | exception | warning | git, fixup, merged-commits, main-branch |
| Entire file | exception | warning | git, fixup, blame, whole-file, untranslated |
| You are currently neither rebasing nor merging | exception | warning | git, merge, rebase, state-machine, race |
| Cannot merge branch in detached head state. You might have c | exception | warning | git, merge, detached-head, guard, untranslated |
| You cannot merge a branch into itself | exception | warning | git, merge, self-merge, guard |
| {{errMsg}} | exception | error | filesystem, chdir, stale-path, recent-repos, worktrees |
| YOU DIED! | exception | info | easter-egg, game, ui-notification, non-error |
| Failed to retrieve version information | exception | warning | update-check, versioning, network, packaging |
| Update failed: {{.errMessage}} | exception | error | update, self-update, permissions, download, packaging |
| Invalid upstream. Must be in the format '<remote> <branchnam | validation | warning | git, upstream, validation, input-format |
| No files staged | exception | warning | git, commit, clean-tree, validation, message-mismatch |
| Branch {{.branchName}} is checked out by worktree {{.worktre | exception | warning | git, worktree, branch, user-input |
| You are already in the selected worktree | exception | info | git, worktree, no-op-guard |
| No item selected | exception | warning | ui, list-controller, selection, guard |
| No pull request found for this branch | exception | warning | pull-request, integration, race-condition, github |
| Feature not available for users using GPG. If you are using | exception | error | gpg, signing, rebase, config |
| Cannot start interactive rebase: the HEAD commit is a merge | exception | warning | rebase, history, merge-commit, guard |
| Cannot squash commits in current branch: the HEAD commit is | exception | warning | rebase, fixup, squash, history |
| Remote {{.remoteName}} already exists and has different URL | exception | error | git, remote, fork, url-mismatch |
| Cannot change the rename similarity threshold while in patch | exception | warning | patch-building, rename-detection, diff, state-guard |
| Updates were rejected. Please fetch and examine the remote c | exception | error | git, push, divergence, non-fast-forward |
| Updates rejected and you have disabled force pushing | exception | error | git, push, force-push, config |
| Your branch has diverged from the remote branch and you've d | exception | error | git, force-push, config, divergence |
| Ignoring whitespace is not supported in this view | exception | info | ui, whitespace, staging, context-guard |
| Can't undo while rebasing | exception | error | git, undo, reflog, rebase-state |
| Can't redo while rebasing | exception | error | git, redo, reflog, rebase-state |
| You have no tracked/staged files to stash | exception | warning | git, stash, discard, working-tree |
| You cannot remove the main worktree! | exception | warning | git, worktree, main-worktree, guard |
| You cannot remove the current worktree! | exception | warning | git, worktree, self-deletion-guard |
| {{disabledReason.Text}} | exception | info | keybindings, gui, disabled-action, lazygit |
| custom command prompt must have a type of 'input', 'menu', ' | validation | error | config, yaml, custom-commands, validation |
| unable to parse filter regex, error: {{err}} | validation | error | config, regex, custom-commands, menu |
| unable to parse value format, error: {{err}} | validation | error | config, template, custom-commands, menu |
| unable to parse label format, error: {{err}} | validation | error | config, template, custom-commands, menu |
| Language not found: {{configLanguage}} | validation | error | config, i18n, localization |
| You already have the latest version | exception | info | updates, versioning, sentinel-error |
| New version ({{.newVersion}}) has non-backwards compatible c | exception | warning | updates, versioning, breaking-changes |
| Could not find any binary at {{.url}} | exception | error | updates, network, release-assets, platform |
| yaml node in path is not a dictionary | exception | error | yaml, config, path-traversal |
| Unexpected document node in the middle of a yaml tree | exception | error | yaml, ast, walker |
| Alias nodes are not supported | exception | error | yaml, anchors, aliases, config |
| command output contains newlines: %s | exception | error | custom-commands, templates, shell, validation |
| GraphQL query failed with status: %s. Body: %s | exception | warning | github, graphql, network, rate-limit, api |
| CreatePipe (in): %w | exception | error | windows, pty, conpty, syscall, pipes |
| CreatePipe (out): %w | exception | error | windows, pty, conpty, syscall, pipes |
| CreatePseudoConsole: %w | exception | error | windows, pty, conpty, syscall, compatibility |
| CreateJobObject: %w | exception | error | windows, pty, job-object, syscall, process-management |
| expected a string or a sequence of strings for keybinding, g | validation | error | config, yaml, keybinding |
| gui.sidePanels: unknown side panel '%s'. Allowed values: %s | validation | error | config, gui, side-panels |
| gui.sidePanels: '%s' is listed more than once; each side pan | validation | error | config, gui, side-panels, duplicate |
| gui.sidePanels: '%s' must be included; it can't be hidden. | validation | error | config, gui, side-panels, required-fields |
| git.diffRenderers: unknown type '%s'. Allowed values: stdinF | validation | error | config, git, diff-renderers, enum |
| Unexpected value '%s' for '%s'. Allowed values: %s | validation | error | config, enum, validation |
| Unrecognized key '%s' for keybinding '%s'. For permitted val | validation | error | config, keybinding, validation |
| Unrecognized key '%s' for custom command. For permitted valu | validation | error | config, custom-commands, keybinding |
| Error with custom command%s: it is not allowed to use both c | validation | error | config, custom-commands, command-menu |
| Unrecognized key '%s' for custom command prompt option. For | validation | error | config, custom-commands, prompts, keybinding |
| A remote named '%s' does not exist | exception | error | git, pull-request, remotes |
| Creating custom patches is not possible with a diff context | exception | warning | config, patch, diff-context |
| Multiple base commits found. (Try staging fewer changes at o | exception | warning | git, fixup, blame, staging |
| Git command failed. Check command log for details (open with | exception | error | git, gpg, signing, commit |
| Error in commitPrefix pattern: %s | exception | error | config, regex, commit-prefix |
| unsupported or invalid remote URL: %s | exception | error | git, remotes, fork, url |
| Staging or unstaging changes is not possible with a diff con | exception | warning | config, staging, diff-context |
| Discarding changes is not possible with a diff context size | exception | warning | config, staging, discard, diff-context |
| upstream branch %s/%s not found. If you expect it to exist, | exception | error | git, upstream, sync, fetch |
| Invalid lazygit-edit URL format: %s | exception | error | lazygit, hyperlink, url-format, editor-integration |
| Failed to open URL %s Error: %v | exception | error | lazygit, browser, xdg-open, linux, hyperlink |
| Custom command prompt cannot have both a preset and a comman | validation | error | lazygit, custom-commands, config, suggestions, yaml |
| Unknown value for suggestionsPreset in custom command: %s. V | validation | error | lazygit, custom-commands, config, suggestions, typo |
| Error when setting custom command keybindings: unknown conte | validation | error | lazygit, custom-commands, keybindings, config, contexts |
| Error parsing custom command keybindings: context not provid | validation | error | lazygit, custom-commands, keybindings, config |
| error while trying to download latest lazygit: %s | http | error | lazygit, self-update, http, github-releases, download |
| Todo %s not found in git-rebase-todo | exception | error | lazygit, rebase, git-rebase-todo, internal, race |
| Expected exactly one original hash, found %d | exception | error | lazygit, rebase, fixup, squash, git-rebase-todo |
| Expected exactly one fixup hash, found %d | exception | error | lazygit, rebase, fixup, squash, git-rebase-todo |
| Expected exactly one merge commit with hash %s | exception | error | lazygit, rebase, merge-commit, git-rebase-todo |
| new key `%s' already exists | validation | error | lazygit, yaml, config-migration, key-rename |
| invalid diff renderer type: %s | panic | critical | lazygit, config, panic, diff-renderer, validation |