14 comments

[ 3.3 ms ] story [ 40.1 ms ] thread
Good to see people still develop using ncurse. It is quite different from the "SaaS in the cloud" trend.
Tig is the only git viewer that I like.
Just tried it, very impressed. Pretty sure it will be my favorite git viewer.
what do you not like about gitk?
http://lwn.net/Articles/140350/

It's fine. I have nothing against it. I just generally like doing as much as I can in the terminal, when that makes sense.

gitk is OK, but I like tig. Personal quirks.

fair enough. i'm just the other way around - i usually prefer terminal-based apps, but i really like gitk and git-cola. the gui really enhances the user experience for both those apps.
My favourite things about Tig:

  * It's fast.
  * It's there in the terminal, right where you're using git.
  * Hence, easy to use over ssh :)
  * Familiar keyboard shortcuts (press 'h' for help).
  * Combined log/diff view, where each scrolls independently.
  * 'tig --all'
I've often wished I could use it to start a rebase, but besides that, I find it damn near perfect.
As an avid rebase user, I want to add rebase support eventually. Something like interactive rebase, however, the question is how to improve something that is nearly perfect.
That'd be awesome. :)

If tig started "git rebase" (with or without -i) and then helped me through fixing any conflicts (merge tool?), that'd be awesome.

I sometimes forget where I am during a rebase, so showing how many more commits to go would be cool.

Sweet! I use tig daily as my main git viewer.

Here are some bindings my in .tigrc, which I use in the log viewer window, to make it more vim like:

bind generic g move-first-line

bind generic G move-last-line

bind generic n next

bind generic p previous

I generally use n/p to flip between commits in log view, hit enter to view a specific commit, and then j/k to move lines on the commit view.

I love it, shame that most of the time I work with Mercurial... Is there anything like a tig for hg? I haven't been able to find it.