TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tig: text-mode interface for Git

118 pointsby skeuomorfalmost 10 years ago

11 comments

wtbobalmost 10 years ago
Pretty neat. Another terminal&#x2F;GUI interface is Magit, the emacs mode for git.<p>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 &#x27;git exchange-frobnozz --quark-handler=positronium&#x27; constantly (or having a million aliases, each of which is useful right up until it needs to be modified slightly).<p>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&#x27;t good at.
评论 #10091212 未加载
评论 #10091950 未加载
评论 #10091040 未加载
moonshinefealmost 10 years ago
I use this tool quite a bit. It&#x27;s pretty nice, especially when SSHing into remote systems that don&#x27;t have any UI available, but you need to do work with git repositories.<p>It&#x27;s the best text-based tool I&#x27;ve seen for quickly visualizing git histories and diffs for each commit.
评论 #10090788 未加载
评论 #10091231 未加载
nyiralmost 10 years ago
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&#x27;s usable in the meantime.
评论 #10091658 未加载
nhaehnlealmost 10 years ago
One of the nice things about tig is its configurability. I have this in my ~&#x2F;.tigrc, which helps a lot with my workflow:<p><pre><code> bind main R !git rebase -i %(commit) bind main M !git merge --ff-only %(commit)</code></pre>
评论 #10092022 未加载
jackbravoalmost 10 years ago
Atlassian had a great blog post about tig that convinced me to start using it:<p>- <a href="https:&#x2F;&#x2F;blogs.atlassian.com&#x2F;2013&#x2F;05&#x2F;git-tig&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.atlassian.com&#x2F;2013&#x2F;05&#x2F;git-tig&#x2F;</a>
stonewhitealmost 10 years ago
Maybe it is a problem of me, but can&#x27;t really get to use a visual front-end or framework (like gitflow) for git.<p>It almost always feels (inferior|complicated|bloated) compared to vanilla command line usage.
评论 #10091668 未加载
hardwaresoftonalmost 10 years ago
It would be nice to have pictures of the thing on the homepage... or anywhere linked. I had to find the atlassian link to even know what it looked like.<p>[EDIT] - I missed the folder called screenshots on the front page that has screenshots in it.<p>Also Magit, if you use emacs.
评论 #10092669 未加载
fougerejoalmost 10 years ago
I use tig daily, it&#x27;s so much faster to select the files&#x2F;chunks&#x2F;lines to add to the staging area than with the command line.
评论 #10091561 未加载
leephillipsalmost 10 years ago
If you use vim, fugitive is a pleasant and powerful wrapper for git.
评论 #10091244 未加载
ausjkealmost 10 years ago
Use this often, it&#x27;s great and neat.
jonsterlingalmost 10 years ago
I rely heavily on tig. highly recommended