{"schemaVersion":"1.0","record":{"label":"Lazygit","description":"Lazygit Git client with documented repository workflows and platform constraints.","aliases":[],"kind":"software","website":"https://github.com/jesseduffield/lazygit","overview":"Lazygit is a terminal user interface for Git commands, with panels for repository state, changes and history. It supports selective staging, interactive rebase and worktree workflows through keyboard-driven controls. The project provides Windows, macOS and Linux releases, making it a different interface to Git rather than a new repository format or hosting service.","license":"MIT","lifecycle":"active","example":false,"features":[{"name":"Selective staging and rebase","status":"supported","detail":"Terminal panels support hunk/line staging and interactive history operations.","useCase":"Git repository management","platforms":["Windows","macOS","Linux"],"region":"Remote-host availability and account policies apply","evidence":[{"url":"https://github.com/jesseduffield/lazygit/blob/master/README.md","locator":"Terminal UI, staging, rebase, worktrees and gh-backed PR indicators","retrievedAt":"2026-10-07T01:11:39Z","kind":"vendor"}]},{"name":"Working-tree undo","status":"unsupported","detail":"The reflog-based undo mechanism does not cover working-tree or stash edits.","useCase":"Git repository management","platforms":["Windows","macOS","Linux"],"region":"Remote-host availability and account policies apply","evidence":[{"url":"https://github.com/jesseduffield/lazygit/blob/master/docs/Undoing.md","locator":"Reflog-based undo exclusions and mid-rebase limitation","retrievedAt":"2026-10-07T01:11:39Z","kind":"vendor"}]}],"alternatives":[],"slug":"lazygit","draftAlternatives":[{"targetSlug":"git-extensions","status":"limited","detail":"A cross-platform terminal alternative for shared Git operations; Windows desktop integrations and recovery semantics differ.","useCase":"Keyboard-driven Git review and history work","platforms":["Windows","macOS","Linux"],"region":"Remote-host availability and account policies apply","evidence":[{"url":"https://github.com/jesseduffield/lazygit/blob/master/README.md","locator":"Terminal UI, staging, rebase, worktrees and gh-backed PR indicators","retrievedAt":"2026-10-07T01:11:39Z","kind":"vendor"},{"url":"https://github.com/jesseduffield/lazygit/blob/master/docs/Undoing.md","locator":"Reflog-based undo exclusions and mid-rebase limitation","retrievedAt":"2026-10-07T01:11:39Z","kind":"vendor"},{"url":"https://github.com/gitextensions/gitextensions/blob/master/README.md","locator":"Windows scope, integrations and portable-update files","retrievedAt":"2026-10-07T01:11:39Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/jesseduffield/lazygit/blob/master/README.md","locator":"Terminal UI, staging, rebase, worktrees and gh-backed PR indicators","retrievedAt":"2026-10-07T01:11:39Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/jesseduffield/lazygit/blob/master/LICENSE","locator":"MIT license","retrievedAt":"2026-10-07T01:11:39Z","id":"lazy-license","title":"Lazygit license","kind":"vendor"},{"url":"https://github.com/jesseduffield/lazygit/blob/master/README.md","locator":"Terminal UI, staging, rebase, worktrees and gh-backed PR indicators","retrievedAt":"2026-10-07T01:11:39Z","id":"lazy-readme","title":"Lazygit README","kind":"vendor"},{"url":"https://github.com/jesseduffield/lazygit/blob/master/docs/Undoing.md","locator":"Reflog-based undo exclusions and mid-rebase limitation","retrievedAt":"2026-10-07T01:11:39Z","id":"lazy-undo","title":"Lazygit undo and redo","kind":"vendor"},{"url":"https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md","locator":"Global, repository-local and parent-directory YAML configuration","retrievedAt":"2026-10-07T01:13:32Z","id":"lazy-config","title":"Lazygit configuration","kind":"vendor"},{"url":"https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Command_Keybindings.md","locator":"YAML command templates and execution contexts","retrievedAt":"2026-10-07T01:11:39Z","id":"lazy-custom","title":"Lazygit custom commands","kind":"vendor"},{"url":"https://github.com/gitextensions/gitextensions/blob/master/README.md","locator":"Windows scope, integrations and portable-update files","retrievedAt":"2026-10-07T01:11:39Z","id":"ge-readme","title":"Git Extensions README","kind":"vendor"},{"url":"https://github.com/gitextensions/GitExtensionsDoc/blob/master/source/commit.rst","locator":"Staging and unstaging lines; index versus working tree","retrievedAt":"2026-10-07T01:12:18Z","id":"ge-commit","title":"Git Extensions commit documentation","kind":"vendor"}],"overviewCitations":["lazy-readme"],"licenseCitations":["lazy-license"],"sections":[{"id":"workflow","heading":"Review and history editing","paragraphs":[{"id":"workflow-detail","content":[{"text":"Users can stage hunks or individual lines, cherry-pick commits and alter earlier history through rebase operations. Worktrees allow more than one branch checkout without repeatedly replacing the same working directory. The GitHub pull-request indicators described in the README additionally require the GitHub CLI and authentication; they are not proof that local Git work requires a GitHub account."}],"citations":["lazy-readme"]}]},{"id":"undo","heading":"Undo is not a general recovery mechanism","paragraphs":[{"id":"undo-detail","content":[{"text":"Lazygit's undo and redo use the reflog. They can therefore trace supported commit and branch movements, including actions performed outside Lazygit, but cannot recover arbitrary working-tree or stash changes. The documentation also excludes undo during an active rebase and reversing a remote push. Users must distinguish retained history from uncommitted data before relying on the undo shortcut."}],"citations":["lazy-undo"]}]},{"id":"configuration","heading":"Configuration and custom actions","paragraphs":[{"id":"configuration-detail","content":[{"text":"Global YAML settings can be overridden by a repository-local configuration, and parent directories can contain configuration applying to groups of repositories. Custom command bindings use templates, contexts and optional prompts to execute external commands. Migrating a setup consequently means reviewing its commands and local tool dependencies, not simply assuming the YAML file is a harmless visual theme."}],"citations":["lazy-config","lazy-custom"]}]},{"id":"license","heading":"License and application scope","paragraphs":[{"id":"license-detail","content":[{"text":"Lazygit is MIT-licensed. Its terminal interface still relies on the surrounding terminal and Git environment for the project workflow. A local repository can be inspected without converting its history, but client-specific settings and hosted-service authentication are not carried by the commit graph. Custom actions can also depend on utilities that are absent on another machine."}],"citations":["lazy-license","lazy-readme","lazy-custom"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"Lazygit can replace "},{"text":"Git Extensions","targetSlug":"git-extensions"},{"text":" for keyboard-driven review, staging and history work, including on systems where the Windows-only client is not available. It does not reproduce Windows Explorer or Visual Studio integration, and its reflog-based undo has explicit exclusions. The directional comparison is strongest for Git operations, not identical desktop presentation or a universal safety net."}],"citations":["lazy-readme","lazy-undo","ge-readme","ge-commit"]}]}]},"id":"Q426","revision":412,"updatedAt":"2026-10-11T21:03:29Z","sourceUrl":"https://substitutefor.net/entities/Q426?revision=412"}}