3 ms·
For those who want to stick to the CLI and have a beautiful history log, you may be interested in these two aliases: https://github.com/Dinduks/dotfiles/blob/ma
by dinduks 13y ago
For those who want to stick to the CLI and have a beautiful history log, you may be interested in these two aliases: https://github.com/Dinduks/dotfiles/blob/master/.gitconfig#L14 https://github.com/Dinduks/dotfiles/blob/master/.gitconfig#L...
Otherwise, tig is neat.
I personally won't have to do `git lga` + copy commit's SHA1 + `git show COPIED_SHA1` anymore.
The thing it lacks imo, is more VI-style shortcuts (such as "gg" and "G"), displaying the SHA1 of each commit, and a feature to copy the hash of a specific commit.
- terhechte 13y agoDid you compare tig to vim-fugitive or gitv? I use gitv and fugitive when in vim, since they are just plugins they adhere to the shortcuts. [1] https://github.com/tpope/vim-fugitive https://github.com/tpope/vim-fugitive [2] https://github.com/gregsexton/gitv https://github.com/gregsexton/gitv
- micampe 13y agoI suggest you put a new section in your .gitconfig [pretty] whatever = "tformat:%Cred%h%Creset -%C(yellow)%d %Creset%s %Cgreen(%an %cr)%Creset" and then: --pretty=whatever