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.

Show HN: Gitin – a minimal commit/branch/workdir explorer for Git

107 pointsby isacikgozover 6 years ago

9 comments

Stratoscopeover 6 years ago
So I&#x27;m on my phone and I&#x27;m looking at this GitHub repo. It has an animated screenshot that I can&#x27;t quite make out, and it doesn&#x27;t let me pinch zoom to see it better.<p>I try tapping on the image in the hope that it will give me a standalone image I can zoom in on.<p>Instead, it takes me to a page that asks me, &quot;Do You Live In San Jose And Like Asian Women?&quot; And &quot;Meet The Best Type Of Girls Who&#x27;ll Do Anything For You.&quot;<p>And I still can&#x27;t zoom in on the screenshot.<p>Tip to open source authors: don&#x27;t host your screenshots on postimg.cc.
评论 #19083614 未加载
评论 #19083588 未加载
isacikgozover 6 years ago
gitin is a minimalist tool that lets you explore a git repository from command line. You can search from commits, inspect indvidual files and changes in the commits, see ahead&#x2F;behind commits etc. It is an alternative and interactive way to explore the commit history. Also, you can explore your current state by investigating diffs, stage your changes and commit them.<p>When I was building <a href="https:&#x2F;&#x2F;github.com&#x2F;isacikgoz&#x2F;gitbatch" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;isacikgoz&#x2F;gitbatch</a> I had to decide whether use git2go(libgit2) or go-git with my project, I choose go-git for gitbatch and I wanted to try git2go with another project. gitin is born with this idea but it is now a handy tool for me to use everyday. I am happy with git2go(libgit2) and consider using it on gitbatch too.
0x54MUR41over 6 years ago
That&#x27;s cool. Suggestion: you can use asciinema [0] for recording a terminal session instead of using GIF file.<p>[0]: <a href="https:&#x2F;&#x2F;asciinema.org" rel="nofollow">https:&#x2F;&#x2F;asciinema.org</a>
Carpetsmokerover 6 years ago
Your installer doesn&#x27;t work if GOPATH contains multiple entries:<p><pre><code> $ echo $GOPATH &#x2F;home&#x2F;martin&#x2F;go:&#x2F;home&#x2F;martin&#x2F;work </code></pre> It tries to run stuff like:<p><pre><code> patch -d &#x2F;home&#x2F;martin&#x2F;go:&#x2F;home&#x2F;martin&#x2F;work&#x2F;src&#x2F;gopkg.in&#x2F;libgit2&#x2F;git2go.v27 -p1 &lt; git2go.v27.patch</code></pre>
评论 #19084111 未加载
adamrtover 6 years ago
Looks awesome. Random feature suggestion: Visual hunk staging like in magit for emacs. Super useful.<p>Edit: You can see that feature here: <a href="https:&#x2F;&#x2F;magit.vc&#x2F;screenshots&#x2F;" rel="nofollow">https:&#x2F;&#x2F;magit.vc&#x2F;screenshots&#x2F;</a> under &quot;Staging Changes&quot;
评论 #19084894 未加载
yoavmover 6 years ago
I&#x27;ve really looked for a simple CLI tool like that, to replace my current usage of Gitg. Thank you!
oklover 6 years ago
How does it compare to tig?
评论 #19084877 未加载
评论 #19085462 未加载
joluxover 6 years ago
Seems a lot like Magit...
IshKebabover 6 years ago
Use a GUI.
评论 #19085449 未加载
评论 #19086441 未加载