News for hackers. Stuff that matters.
Re:Tig 1.0 released - ncurses text-mode interface for git by askedrelic on Friday May 11, 2012 @01:05PM (#3960181)
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.

Re:Tig 1.0 released - ncurses text-mode interface for git by martiell on Friday May 11, 2012 @09:26AM (#3959047)
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.
Re:Tig 1.0 released - ncurses text-mode interface for git by jonasf on Friday May 11, 2012 @10:57AM (#3959499)
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.
Re:Tig 1.0 released - ncurses text-mode interface for git by martiell on Friday May 11, 2012 @12:05PM (#3959887)
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.

Re:Tig 1.0 released - ncurses text-mode interface for git by melicerte on Friday May 11, 2012 @08:32AM (#3958856)
Good to see people still develop using ncurse. It is quite different from the "SaaS in the cloud" trend.
Re:Tig 1.0 released - ncurses text-mode interface for git by Sodaware on Friday May 11, 2012 @08:22AM (#3958835)
The main project site has more information, as well as some screenshots: http://jonas.nitro.dk/tig/
Re:Tig 1.0 released - ncurses text-mode interface for git by bct on Friday May 11, 2012 @02:18PM (#3960538)
Interesting. It looks similar to the vim plugin fugitive: http://www.vim.org/scripts/script.php?script_id=2975
Re:Tig 1.0 released - ncurses text-mode interface for git by askedrelic on Friday May 11, 2012 @02:28PM (#3960591)
Fugitive is pretty great once figure out most of it.

Extradite is a wrapper around fugitive to provide a log view similar to tig's log view, but seemed a bit clunky to me last time I tried it.

https://github.com/int3/vim-extradite

Re:Tig 1.0 released - ncurses text-mode interface for git by grimborg on Friday May 11, 2012 @04:57PM (#3961365)
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.
Re:Tig 1.0 released - ncurses text-mode interface for git by antidoh on Friday May 11, 2012 @08:44AM (#3958887)
Tig is the only git viewer that I like.
Re:Tig 1.0 released - ncurses text-mode interface for git by GrandTheftR on Friday May 11, 2012 @11:57AM (#3959855)
Just tried it, very impressed. Pretty sure it will be my favorite git viewer.
Re:Tig 1.0 released - ncurses text-mode interface for git by zem on Friday May 11, 2012 @05:02PM (#3961390)
what do you not like about gitk?
Re:Tig 1.0 released - ncurses text-mode interface for git by antidoh on Friday May 11, 2012 @09:53PM (#3962374)
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.

Re:Tig 1.0 released - ncurses text-mode interface for git by zem on Saturday May 12, 2012 @03:55AM (#3963163)
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.