If you are not accustomed to typing git commands on the command line, there are also some TUI clients for easing the use of git.
lazygit is a git tui client written in go. To install it on Linux:
mkdir -p $HOME/tools/lazygit
tar --directory=$HOME/tools/lazygit -xvf lazygit_0.28.2_Linux_x86_64.tar.gz
Add it to PATH:
Lazygit comes with rich features and extensive key bindings.
gitui is a similar git tui written in rust, which boasts excellent performance against other git tui clients. Install it on Linux:
mkdir -p $HOME/local/bin
tar --directory=$HOME/local/bin -xvf gitui-linux-musl.tar.gz
gitui also has rich features. One issue to note is that it does not support
k to select next and previous item, which is a bit clusmy for
Vim users like me.
tig is tiny tools written in C, which provides a git tui with basic features. We can install it from source:
tar xvf tig-2.5.4.tar.gz
make -j 8 && make install
tig will be installed under
Tig is tiny and quite powerful and suitable for simple use cases.
License CC BY-NC-ND 4.0