Interactive git tools
Lit is a set of interactive git tools that aims to automate tedious git tasks.
npm i -g @heruka_urgyen/lit
lit [--help] <command>
Usage: lit status
Git status with interactive cli for selecting files. It provides operations, such as stage, reset, checkout, commit, commit --amend and commit --fixup. The last one will open git log to select a commit for fixup.
Usage: lit diff
Interactive git diff that combines status with diff for each file.
List of files is displayed on the left and diff is displayed on the right.
The diff pane can be resized with h
and l
and focus toggled with v
.
When focused, navigation keys scroll the diff.
Usage: lit log
Interactive git log that allows inspecting diffs for each file in commit and simplifies checkout and interactive rebase.
Open diff view for committed files with l
or return
.
Go back to log with b
or backspace
.
Checkout commit with o
.
Begin interactive rebase of commit with r
.
GPL-3.0