Blazing 💥 fast terminal-ui for git written in rust 🦀
Go to file
2020-03-30 11:35:24 +02:00
.github/workflows audit code 2020-03-29 14:57:23 +02:00
.vscode update in a loop 2020-03-16 23:03:13 +01:00
assets some cleanup 2020-03-27 01:52:12 +01:00
asyncgit test resetting workdir part of untracked stages file 2020-03-29 16:03:35 +02:00
scopetime stricter warning leves 2020-03-26 13:26:40 +01:00
src prevent panics to mess up your previous terminal session 2020-03-29 16:34:29 +02:00
.gitignore update ignore 2020-03-19 14:22:02 +01:00
Cargo.lock prevent panics to mess up your previous terminal session 2020-03-29 16:34:29 +02:00
Cargo.toml prevent panics to mess up your previous terminal session 2020-03-29 16:34:29 +02:00
LICENSE.md add license 2020-03-16 15:42:56 +01:00
Makefile make teat phony 2020-03-28 20:47:29 +01:00
README.md update readme 2020-03-30 11:35:24 +02: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

features

  • fast and intuitive key only control
  • context based help (no need to remember any hot-key)
  • inspect/commit changes
  • (un)stage files, revert/reset files
  • scalable ui layout
  • 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 audit warnings: https://github.com/Drakulix/simplelog.rs/issues/54
  • panic on exit (thread sending error)
  • 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