News for hackers. Stuff that matters.
Re:How to teach Git by oblio on Wednesday January 16, 2019 @11:14AM (#18922056)
Git in many occasions (including when using git log) feels like the designer just threw their hands up and said:

"F*ck this shit, make your own UI on top if you want to use this tool!"

I don't think Torvalds has a proper excuse for the pain and suffering he's inflicted on millions of developers worldwide :(

(To the people going: "Oh, it's Open Source!". Sure, so are Mercurial, Fossil, etc.)

Re:How to teach Git by rkangel on Wednesday January 16, 2019 @12:24PM (#18922733)
This makes a lot more sense when you realise that Linus thought he was building a low level tool that people would build a UI on top of. The 'original' git command line was more a proof of concept and engineering tool than something aimed at actual use.
Re:How to teach Git by WorldMaker on Wednesday January 16, 2019 @12:35PM (#18922865)
Right, doing a search through the git mailing list for the use of the word "porcelain" is fascinating. It's unfortunate some of those "porcelain" projects never finished.
Re:How to teach Git by mcguire on Wednesday January 16, 2019 @12:50PM (#18923027)
... because none of the power users used them.
Re:How to teach Git by yjftsjthsd-h on Wednesday January 16, 2019 @05:56PM (#18926380)
Heh. I think Linux on desktop it is like that, at least a bit; frequently, by the time someone could write a friendly GUI (or friendly CLI for that matter), they have little use for it.
Re:How to teach Git by zbentley on Wednesday January 16, 2019 @11:05PM (#18928284)
That's a disturbingly insightful parable for everything from startups to linux/FOSS contributions.
Re:How to teach Git by pjc50 on Wednesday January 16, 2019 @12:22PM (#18922717)
I don't think it was ever really intended for worldwide use by Linus, it was intended to exactly replicate his workflow and his alone. The real responsible party is github; I'm not sure how they came to dominate?
Re:How to teach Git by delian66 on Thursday January 17, 2019 @06:10AM (#18929899)
By being much, much, much better than the competition at the time (sourceforge) - github was faster, without ads, used superior vcs. Github also had Octopuss/Octocat as a logo :-) .
Re:How to teach Git by pjc50 on Thursday January 17, 2019 @09:17AM (#18930883)
Sure, but why github rather than mercurialhub etc? The website has great usability but the git CLI does not. Maybe the github gui was also critical.
Re:How to teach Git by delian66 on Thursday January 17, 2019 @11:00AM (#18931763)
Yes, the gui was good (and it still is, or may be I am too familiar with it at this point, I do not know).

Another factor is that git was always FAST, and the most common operations (init, log, status, commit, checkout, push, pull) are not that complicated as people make them to be, so you can very easily start to use it for new local projects, and continue without installing additional plugins, unlike mercurial ... And at some point, when you wanted a colaboration hub or just a public remote repo, you just pushed your code to github.

Re:How to teach Git by Liskni_si on Friday January 18, 2019 @04:09PM (#18943114)
> Git [...] feels like the designer [...] said "F*ck this shit, make your own UI on top if you want to use this tool!"

Actually this is exactly what happened back then, which is why many people used https://en.wikipedia.org/wiki/Cogito_(software) as a frontend to git in the early days. That said, I personally find current git UX absolutely fine and I can't imagine being effective without having all those commands like git reset --whatever -p and git rebase --interactive.

Re:How to teach Git by delian66 on Thursday January 17, 2019 @11:09AM (#18931861)
What an absurd statement: "Torvalds has a proper excuse for the pain and suffering he's inflicted on millions of developers worldwide :(" !

Who are you exactly to judge people like that, oh failed incarnation of a tibetan Lama ???

He does not need an excuse to make a tool that has proven very useful to many (including me). In fact, I am grateful, that he chose to make it and publish it.

Re:How to teach Git by da_chicken on Wednesday January 16, 2019 @02:20PM (#18924039)
It definitely feels like it was written by someone used to writing an ABI or library rather than a set of command line tools.

Certain tools are organized by what code goes together rather than by what user functions make sense to go together. It's part of what makes it confusing.