features
- fast and intuitive key only control
- context based help (no need to remember any hot-key)
- inspect/commit changes (incl. hooks: commit-msg/post-commit)
- (un)stage files/hunks, revert/reset files/hunk
- stashing (save, apply, drop)
- browse commit log
- scalable ui layout
- async input polling and
- async git API for fluid control
benchmarks
For a RustBerlin meetup presentation I compared lazygit,tig and gitui parsing the entire linux git repository (~900k commits):
lazygit | tig | gitui | |
---|---|---|---|
time | 57s | 4m 20s | 24s |
mem | 2.6 gb | 1.3 gb | 170 mb |
binary | 16 mb | 600 kb | 1.4 mb |
freezes | yes | soso | no |
crashes | sometimes | no | no |
install (macos)
brew install extrawurst/tap/gitui