Reputation: 52840
I have a new server provider and they have no tig installed, I am pretty sure the guys have some good reasons for that. How do you browse git logs without tig?
Not really what I am looking for:
$ git log --graph --color --oneline --all --decorate
# how can I browse things with this?
$ git log -p
# more like diff-less -combo, not really browsing.
$ gitk
# I am on console, although I could sshfs things but I want to browse things like with tig
Upvotes: 0
Views: 680
Reputation: 399
you could try this, my personal config alias.lp
git log --graph --pretty=format:'%Cgreen%h%Creset -%C(yellow)%d%Creset %s %Cred(%cr)%Creset%C(yellow)<%an>'
Upvotes: 1
Reputation: 7755
From what you've said, I'd suggest one of these:
Upvotes: 1
Reputation: 129564
The output of the git log will be passed through less
which will allow you to go up and down to view earlier or later history. less
has a lot of functionality such as searching for certain strings, etc: http://unixhelp.ed.ac.uk/CGI/man-cgi?less
You should be able to use gitk --all
to see everything as well.
Upvotes: 1