Terminal: Lazygit
Lazygit is a Git TUI for the text-based world and a solid alternative to the Git Tower application for MacOS I’ve been using for years.
It takes a little while to get around in Lazygit, but all in all, the shortcuts make sense after some time. The trickiest thing to get used to, in my opinion, is that you move left and right to go from section to section, but visually, they are placed underneath each other.
You use up and down to navigate each section, so in that regard, it makes sense to use left and right to move between them, but it feels weird pressing right and seeing the section under the current section light up.
Otherwise, you use
Space
to stage and unstage files,c
to commit,d
to discard,s
to stash, etc.,
so many of the other shortcuts are pretty intuitive.
P
for push and p
for pull also takes some time to commit to muscle memory.
You always have a few of the most common shortcuts for the current situation in the bottom row on the screen, and you can always press the ?
to get a list of all the commands.
Combined with Delta and a side-by-side config, diffs look good too.
Resources
- Lazygit
- Delta
- Introduction called Save Time With Lazygit by the creator Jesse Duffield