Customizable and lightweight git front end tool. Included shell completions and many interesting looking options.
Go to file
2017-11-23 18:12:32 +08:00
forgit.plugin.zsh Fix variable lifecycle :bugs: 2017-11-23 18:05:15 +08:00
LICENSE.txt Add license file 2017-11-23 18:11:02 +08:00
README.md Update README 2017-11-23 18:12:32 +08:00
screenshot.png Add README 2017-11-23 18:06:09 +08:00

forgit

forgit is a utility tool for git taking advantage of fuzzy finder fzf.

Demo

screenshot

Install

zplug(Recommand)

Just add this line to your zshrc:

`zplug 'wfxr/forgit', defer:1`

Manually

Clone this repo somewhere and source the forgit.plugin.zsh at ~/.zshrc.

Commands

ga

Interactive git add

<Ctrl + N/P> Selection down/up
<Alt + N/P>  Preview down/up
<Tab>        Mark/Unmark and move down
<Enter>      Confirml and quit

glo

Interactive git log

<Ctrl + N/P> Selection down/up
<Alt + N/P>  Preview down/up
<Enter>      Fullscreen preview

gd

Interactive git diff

<Ctrl + N/P> Selection down/up
<Alt + N/P>  Preview down/up
<Enter>      Fullscreen preview

gi

Interactive .gitignore generator

Tips

Install diff-so-fancy for better quality of diff result.

License

MIT