joelagnel / ngit

An ncurses based UI to quickly select a git commit from a 'git log --online' output and press a key on it to perform a single action (Checkout, reword changelog, edit patch, etc). Opens up vim editor when needed. Inspired by a grep frontend called ngp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngit is an ncurses based UI to quickly select a git commit from a git log --online output and press a key on it to perform a single action (Checkout, reword changelog, edit patch, etc). See screenshot below. Opens up vim editor when needed. Inspired by a grep frontend called ngp and is written in bash and python..

It is similar in spirit to tig but IMO requires way fewer key strokes and is not that complex of a code base. However tig is more advanced. This is in no way replacing tig. YMMV.

Run ngit from any git repository. Type h for usage instructions.

To install

Simply git clone this repository and run the ngit script from any git checkout. Requires python3.

Screenshots

Screen1

Help screen: Screen2

About

An ncurses based UI to quickly select a git commit from a 'git log --online' output and press a key on it to perform a single action (Checkout, reword changelog, edit patch, etc). Opens up vim editor when needed. Inspired by a grep frontend called ngp.


Languages

Language:Python 55.3%Language:Shell 44.7%