Last night I gave a git
based tool called lazygit
a try.
I've been very hesitant so far in my career to try any of the GUIs for git
but lazygit
has piqued my interest based on its simplicity and efficient key bindings.
Committing and pushing to a remote is fast! I can change files in my text editor, use space
to add files to staging and then c
to bring up the commit panel. I can then write my message and press return
and I'm done.
I can then easily bring up the keybindings panel for a branch and filter with ?
to search through all the options.
Interactive rebasing is made easy in the commits panel with a combination of squash (s
) and reword (r
).
I can stash commits with a reference with s
from the file panel and then pop them back in.
I can also cherry-pick
commits with C
and V
. This might be somewhat important for work given that we occasionally need to cherry-pick
for hot fixes.
I've really enjoyed learning the basics of lazygit
. It's also a small shout out to a local Melbourne based developer.