Marks Notes

lazygit

Source code

Lazygit is a TUI for git operations. It can be used from within neovim via the lazygit.nvim plugin

Installation on Debian

Version 0.50 is in trixie.

sudo apt install lazygit

Stage individual lines

To stage individual lines, press Enter on the file, then Enter again on the lines you wish to commit. You can also use v to highlight multiple lines at once.

Amend a previous commit

Press shift+a on any previous commit to amend it with the currently staged files.