https://github.com/heruka-urgyen/lit
Interactive git tools
https://github.com/heruka-urgyen/lit
cli git ink interactive react tools
Last synced: 2 months ago
JSON representation
Interactive git tools
- Host: GitHub
- URL: https://github.com/heruka-urgyen/lit
- Owner: heruka-urgyen
- License: gpl-3.0
- Created: 2020-08-16T21:57:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-12T23:44:10.000Z (about 5 years ago)
- Last Synced: 2025-02-21T19:15:36.331Z (over 1 year ago)
- Topics: cli, git, ink, interactive, react, tools
- Language: JavaScript
- Homepage:
- Size: 2.06 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Lit
===
> Interactive git tools
Lit is a set of interactive git tools that aims to automate tedious git tasks.
## Installation
`npm i -g @heruka_urgyen/lit`
## Usage
`lit [--help] `
## Commands
### Status
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.

### Diff
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.

### Log
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`.

## License
GPL-3.0