9 ms·
Show HN: Gitin – a minimal commit/branch/workdir explorer for Git
- Stratoscope 8y agoSo I'm on my phone and I'm looking at this GitHub repo. It has an animated screenshot that I can't quite make out, and it doesn't let me pinch zoom to see it better. I try tapping on the image in the hope that it will give me a standalone image I can zoom in on. Instead, it takes me to a page that asks me, "Do You Live In San Jose And Like Asian Women?" And "Meet The Best Type Of Girls Who'll Do Anything For You." And I still can't zoom in on the screenshot. Tip to open source authors: don't host your screenshots on postimg.cc.
- trulyrandom 8y agoExtra tip: place the screenshot in the Git repository itself and link to it from the README.
- isacikgoz 8y agoI just wanted to keep repository size small, but I think it will be better to keep it on repository anyway.
- Cthulhu_ 8y agoYou can create a branch called gh-pages (which you can branch off from the initial commit and keep separate from your main repo) and link the image from your generated github.io page as well - see https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/ https://help.github.com/articles/configuring-a-publishing-so.... That won't make the repository itself small, but it will keep the master branch clean. Alternatively you could create a separate docs or Github Pages repository under the same organization.
- isacikgoz 8y agoI am sorry about that, I will move gif to the repository. Since Imgur is blocked in my country I went to first alternative and didn’t know it is way it is.
- Stratoscope 8y agoExcellent! There is always some detail like that, isn't there? :-) Thanks for creating this. Keep up the good work!
- user234683 8y agoGithub let's you host images in issues. So what you can do is make an issue with all your images in it, and immediately close it.
- isacikgoz 8y agowow, that's neat! thank you.
- lucasverra 8y agoGithub let you host images. In repo. cf => https://github.com/lucasverra/partnerImages/blob/master/fakelogo.png https://github.com/lucasverra/partnerImages/blob/master/fake... free hosting by MS. we should all use it :)
- adamrt 8y agoLooks awesome. Random feature suggestion: Visual hunk staging like in magit for emacs. Super useful. Edit: You can see that feature here: https://magit.vc/screenshots/ https://magit.vc/screenshots/ under "Staging Changes"
- isacikgoz 8y agoThank you, I would like to improve the commit experience, I will definitely consider this!
- yoavm 8y agoI've really looked for a simple CLI tool like that, to replace my current usage of Gitg. Thank you!
- isacikgoz 8y agogitin 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/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. When I was building https://github.com/isacikgoz/gitbatch https://github.com/isacikgoz/gitbatch 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.
- Carpetsmoker 8y agoYour installer doesn't work if GOPATH contains multiple entries: $ echo $GOPATH /home/martin/go:/home/martin/work It tries to run stuff like: patch -d /home/martin/go:/home/martin/work/src/gopkg.in/libgit2/git2go.v27 -p1 < git2go.v27.patch
- farslan 8y agoI think the best way to report this problem is to open a Github issue on the OP's repo.
- okl 8y agoHow does it compare to tig?
- isacikgoz 8y agogitin is has a minimalist approach to interact with a git repository. gitin does not use full screen like tig, grv or lazygit. It allows you to explore your commits very quickly. Also, it works with sub commands such as log, status and branch.
- h1d 8y agoWhile tig seems popular, I just find it non intuitive. All I want to do is find changed files and check diff for some of recent commits and I really wanted a simpler tool.
- IshKebab 8y agoUse a GUI.
- h1d 8y agoAnd how do you do that on a remote SSH session on occasions like trying to dig repo made by etckeeper? Don't tell me to sshfs it as it will be very slow.
- IshKebab 8y agoThe whole point of got is that it is distributed, so just clone it on your local machine surely? Alternatively you could use rsync or lsyncd which are much faster and better than SSHFS. Anyway I don't think this was created for use over SSH. Most people that use it are going to be working locally, in which case a proper GUI is much better.
- h1d 8y agoI don't rsync to store /etc out of dozens of servers just to occasionally see some diffs. CUI apps are really meant over SSH imo. Like you say, local use has wider alternatives including GUI in which case I prefer SourceTree over any CUI tools.
- pjc50 8y agoI could actually do with this for Windows; alternatives to "git gui" and TortoiseGit?
- IshKebab 8y agoSourceTree is good but slow. Tower and SublimeMerge are very good and fast but they are commercial. I think Tower might be free for personal use. On Mac I use GitX which is a little buggy but I think it has the most logical UI. Sadly it isn't cross-platform. GitAhead is also worth a look - it was a commercial one but is now open source.
- 0x54MUR41 8y agoThat's cool. Suggestion: you can use asciinema [0] for recording a terminal session instead of using GIF file. [0]: https://asciinema.org https://asciinema.org
- jolux 8y agoSeems a lot like Magit...