Blazing 💥 fast terminal-ui for git written in rust 🦀
Go to file
2020-03-26 17:34:51 +01:00
.github/workflows fetch file diff based on hunks 2020-03-25 23:47:39 +01:00
.vscode update in a loop 2020-03-16 23:03:13 +01:00
assets show new assets 2020-03-23 14:30:13 +01:00
asyncgit stricter warning leves 2020-03-26 13:26:40 +01:00
scopetime stricter warning leves 2020-03-26 13:26:40 +01:00
src doc 2020-03-26 13:37:52 +01:00
.gitignore update ignore 2020-03-19 14:22:02 +01:00
Cargo.lock crossterm update 2020-03-26 13:12:16 +01:00
Cargo.toml crossterm update 2020-03-26 13:12:16 +01:00
LICENSE.md add license 2020-03-16 15:42:56 +01:00
Makefile simple make cmd to test workspace 2020-03-26 10:08:28 +01:00
README.md more badges! 2020-03-26 17:34:51 +01:00
rustfmt.toml formating to shorter lines 2020-03-18 15:14:13 +01:00

gitui

CI crates MIT LOC

blazing fast terminal-ui for git written in rust

img

img

features

  • fast key only control
  • inspect changes
  • (un)stage files
  • revert/reset files
  • commit changes
  • async input polling and
  • async git API for fluid control

motivation

I do most of my git usage in a terminal but I frequently found myself using git UIs for some use cases like: index/commit, diff, stash and log.

Over the last 2 years my go-to GUI tool for this was fork because it was not bloated, snappy and free. Unfortunately the free part will change soon and so I decided to build a fast & simple terminal tool myself to copy the fork features i am using the most.

installation

For the time being this product is considered alpha and not production ready, therefore I do not distribute binary versions yet, however feel free to build gitui and let me know what you think!

requirements

install rust/cargo: https://www.rust-lang.org/tools/install

cargo install

the simplest way to start playing around with gitui is to have cargo build/install it:

cargo install gitui

diagnostics:

to enable logging to ~/.gitui/gitui.log:

GITUI_LOGGING=true gitui

todo for 0.1 (first release)

  • fix: reset unstaged file also resets staged hunks
  • better help command
  • -> fix: dont show scroll option when any popup open
  • confirm destructive commands (revert/reset)
  • (un)staging selected hunks
  • publish as homebrew-tap

inspiration