News for hackers. Stuff that matters.
Re:Reinventing the Git Interface (2014) by Ajedi32 on Thursday March 30, 2017 @04:52PM (#13998767)
I'm sure this has been posted before, but regardless it's still extremely relevant.

It's been almost 3 years now since this article was written, and I've still yet to see a git UI which is anywhere near as good as the one proposed here in terms of functionality and UX.

If a GUI like this is ever implemented, I might finally be able to use something besides the CLI for my git client.

Re:Reinventing the Git Interface (2014) by gregmac on Thursday March 30, 2017 @06:27PM (#13999458)
GitKraken [1] has quite a few features that are very similar to what is shown in the article:

* Switching branches with dirty working copy does an auto stash/pop (also stashes are shown visually in the timeline attached to the branch)

* You can do a commit by editing the placeholder text in the timeline (though there's still a distinction between working copy and staged)

* You can shift+click multiple commits and squash merge them

* You can cherry pick by right-clicking, but not drag-and-drop

* You can merge or rebase by dragging branches to each other (just found that out, I usually right-click)

* It's a UI, so there's a visual DAG tree (and it's fairly nice looking)

I have no affiliation with the company, I've just been using it for the past several months.

[1] https://www.gitkraken.com/features

Re:Reinventing the Git Interface (2014) by js2 on Thursday March 30, 2017 @05:42PM (#13999140)
> I'm sure this has been posted before

Original discussion (41 points, 12 comments):

https://news.ycombinator.com/item?id=7906511

Re:Reinventing the Git Interface (2014) by inetknght on Thursday March 30, 2017 @05:16PM (#13998944)
Git has `git log --gra.....` actually no nevermind that's far too obscure and useless. Just use `tig`. TUIs are generally more useful than GUIs in my experience anyway.
Re:Reinventing the Git Interface (2014) by Ajedi32 on Thursday March 30, 2017 @05:20PM (#13998970)
> Git has `git log --gra.....`

I have an alias `git lg` which does basically that. The only problem is that once I run that command and have that nice, pretty DAG, I can't manipulate any of those commits directly; I'm stuck manipulating the commit graph indirectly by typing out commands and copy-pasting commit hashes into the terminal. A decent GUI like the one described in this article would fix that.

Re:Reinventing the Git Interface (2014) by hdhzy on Thursday March 30, 2017 @05:54PM (#13999223)
Ha, I also use that alias. Simple operations can be done directly in gitk (moving branches etc.) but a real solution that'd make `git lg` editable would be an incredible boon.