lazygit: A simple terminal UI for git commands
What problem it solves
Git provides many capabilities, but common operations can involve editing todo files, navigating hunks, and manipulating patch files by hand. This project presents an interactive terminal interface for these workflows, including staging, rebasing, cherry-picking, bisecting, and worktree management.
Key features
Fine-grained staging — Stage complete hunks or select individual lines and ranges before committing. The staged and unstaged views can be moved between from the diff interface.
Source: README
Interactive rebase — Start an interactive rebase and squash, fixup, drop, edit, or reorder commits before continuing. Individual rebase actions can also be performed directly on a commit.
Source: README
Commit and history operations — Cherry-pick commits, mark good and bad commits for bisecting, and amend an earlier commit with currently staged changes.
Source: README
Worktree management — Create a worktree from the selected branch and switch to it so multiple branches can be used at once without stashing or creating work-in-progress commits.
Source: README
Extensible commands and views — Filter views and invoke user-defined commands through a flexible custom command system. The project also includes configuration support for custom diff renderers and custom commands.
Source: README, docs
Who it may suit
Inference: may suit developers who work with Git from a terminal and want interactive control over common repository operations.
Topics to discuss
Which Git workflow is still missing from the terminal interface?
How can custom commands and diff renderers improve your daily workflow?
Which interactive rebase and commit-management feature would you most often use?
Written by ReadmeX AI from the project's README, source and public GitHub data; it may contain mistakes.
Read the original README https://github.com/jesseduffield/lazygit#readme
ReadmeX opened this community for a trending project; it is not run by the project. Maintainers can claim it from the community page.
Comments
…