Live data from Hacker News

Tig: text-mode interface for Git

jonas.nitro.dk

1–10 of 31 posts

Re: Tig: text-mode interface for Git

#2
I use this tool quite a bit. It's pretty nice, especially when SSHing into remote systems that don't have any UI available, but you need to do work with git repositories.

It's the best text-based tool I've seen for quickly visualizing git histories and diffs for each commit.

Re: Tig: text-mode interface for Git

#3

I use this tool quite a bit. It's pretty nice, especially when SSHing into remote systems that don't have any UI available, but you need to do work with git repositories. It's the best text-based tool I've seen for quickly visualizing git histories and diffs for each commit.

I like it a bit more colourfull and have more space for the commit notes than for the author's name:

  ~/.tigrc


  set git-colors = no
  set show-changes = yes
  set commit-order = topo
  set refresh-mode = auto
  set main-view = \
    date:default \
    author:abbreviated \
    id:yes,color \
    commit-title:graph=yes,refs=yes

Re: Tig: text-mode interface for Git

#4
Pretty neat. Another terminal/GUI interface is Magit, the emacs mode for git.

Stuff like this is nice because it does let one directly manipulate objects within a git repository easily with a few keystrokes, rather than having to type 'git exchange-frobnozz --quark-handler=positronium' constantly (or having a million aliases, each of which is useful right up until it needs to be modified slightly).

The disadvantage, of course, is that one really should still know how to use git competently at the command line for the 15% of tasks such wrappers aren't good at.

Re: Tig: text-mode interface for Git

#5
The one thing tig is really good for imo is the interactive log view with branch information etc.; it also loads asynchronously, so e.g. the Emacs repository will still take quite a while to load for all commits, but it's usable in the meantime.

Re: Tig: text-mode interface for Git

#8
post #4

Pretty neat. Another terminal/GUI interface is Magit, the emacs mode for git. Stuff like this is nice because it does let one directly manipulate objects within a git repository easily with a few keystrokes, rather than having to type 'git exchange-frobnozz --quark-handler=positronium' constantly (or having a million aliases, each of which is useful right up until it needs to be modified slightly). The disadvantage,…

...and for the use-case where you're on a remote system with a slow connection it's feasible to run magit inside `emacs -nw`.

Re: Tig: text-mode interface for Git

#10
post #4

Pretty neat. Another terminal/GUI interface is Magit, the emacs mode for git. Stuff like this is nice because it does let one directly manipulate objects within a git repository easily with a few keystrokes, rather than having to type 'git exchange-frobnozz --quark-handler=positronium' constantly (or having a million aliases, each of which is useful right up until it needs to be modified slightly). The disadvantage,…

I recently switched from vim to emacs (mostly cause I want to mess around with LISPs and emacs LISP support is good e.g. CIDER) and I've had my eye on Magit from the get go, haven't had the time to mess around with it yet but definitely looking forward to do that.

>The disadvantage, of course, is that one really should still know how to use git competently at the command line for the 15% of tasks such wrappers aren't good at.

I definitely agree with this. I always learn the core technology before learning any convenience layer/wrapper/abstraction e.g. {(git, Magit), (CSS, -Insert Grid Framework-)}.

Post reply on HN