rust图形编程_Rust写的git命令行图形界面

论坛 期权论坛 编程之家     
选择匿名的用户   2021-5-23 20:47   11   0

blazing fast terminal-ui for git written in rust

features

fast and intuitive key only control

context based help (no need to remember any hot-key)

inspect/commit changes (incl. hooks: commit-msg/post-commit)

(un)stage files/hunks, revert/reset files/hunk

browse commit log

scalable ui layout

async git API for fluid control

known limitations

core.hooksPath config not supported

revert/reset hunk in working dir (see #11)

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.

release binaries

homebrew (macos)

brew install extrawurst/tap/gitui

install from source

requirements

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

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:

GITUI_LOGGING=true gitui

this will log to:

$HOME/Library/Caches/gitui/gitui.log (mac)

$XDG_CACHE_HOME/gitui/gitui.log (linux using XDG)

$HOME/.cache/gitui/gitui.log (linux)

inspiration

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP