7 ms·
Am I the only one disappointed that they didn't go for a completely redesigned, consistent UI when making a shift to 2.0? I guess most just went with "everyone
by viraptor 12y ago
Am I the only one disappointed that they didn't go for a completely redesigned, consistent UI when making a shift to 2.0? I guess most just went with "everyone else is using git as is, so I have to learn the weirdness". But projects like EG are still being created - so it seems there's a need for improvements. Maybe in v3.0 they'll redo it...
- izacus 12y agoYeah, I was hoping for that too. Having totally inconsistent switches and parameters (How many different ways is to "list" something in git? -a -v -l depending on command?) depending on command drives me up the wall way more than in should :/
- hughw 12y ago"A foolish consistency is the hobgoblin of little minds" -- Emerson
- sopooneo 12y agoCertainly. But command line consistency is not foolish.
- worklogin 12y agoConsistency isn't always foolish.
- _broody 12y agoAh, was that not Larry Wall moments before inventing a language intended to parse bashing one's head against the keyboard?
- cgag 12y agoTheir choice to stay consistent with their initial terrible ui design is the type of foolish consistency this quote is probably referring to.
- hughw 12y agoDownvotes demonstrating my point.
- sergiotapia 12y agoI always found the `git remote -v` command really weird. Why `-v`?
- anton_gogolev 12y agoThat would require a MAJOR MAJOR[1] version number increment because this change would break so much. Looking at Git as it is now, I find it very unlikely to see a clean CLI in the nearest timeframe. Changes will happen (if they will) at a very slow pace. [1]: http://semver.org/ http://semver.org/
- viraptor 12y agoI'm not saying they should change the `git` itself. They could go with `git2`, `giit` or whatever else and just use new interface for common backend code.
- lambda 12y agoWhy "they"? Why not you? There have been other Git frontends in the past; why not write a new one that behaves as you'd like?
- viraptor 12y agoA number of reasons: Writing your own means dealing with changing internal behaviour. It means following changing output. It means not being able to reuse parts that already exist but are not exposed. It means deploying separate software where you don't necessarily have root/install rights. Even if the interface you see as a user doesn't change, the internals do - for example submodules handling has been changed from a standard git dir to git file with directory link. This broke some of my scripts that made git interaction easier. I don't want to slap something on top of git and hope that there are no edge cases in state/output parsing. I want an actual first-class interface that has at least a bit of consistency between commands. As you can see, I went that way and it's not usable long-term. Edit: changed symlink to git file, bad memory
- general_failure 12y agoI don't buy this. Give me some concrete examples of how internals need to change. I have lot of git scripts which work off git plumbing and they didn't require any of what you mention. You just sound like an armchair critic otherwise.
- girvo 12y agoNope. In fact, Felipe Contreras has an excellent article he just posted about that exact topic: http://felipec.wordpress.com/2014/06/05/whats-missing-in-git-v2-0-0/ http://felipec.wordpress.com/2014/06/05/whats-missing-in-git...
- StefanKarpinski 12y agoThat blog post is 100 times more interesting that the above article.
- vezzy-fnord 12y agoUI consistency is probably one of the big reasons to use Mercurial.
- stephen_g 12y agoAm I the only person who has never really been bothered by Git's UI? I can't remember ever being worried by its quirks and found it pretty easy to pick up...
- tootie 12y agoI've been using it for 2 years and I still end up googling almost everything beyond pull/commit/push.
- collyw 12y agoI find it has a lot of unnecessary complexity. Does anyone advertise jobs using CSV, or SVN these days? No, they all want experience using Git. Do they actually need a distributed version control system? Probably not. I am sure git is great for the complexities of developing the Linux kernel from remote locations, but most projects are not that. I would prefer something that is less distracting to the task in hand.
- ma2rten 12y agoI learned Hg before Git. Hg took about a day to master, but I still feel I haven't mastered git after using it for years. The following article will give you an idea of the differences between hg and git in terms of ui. http://stevelosh.com/blog/2010/01/the-real-difference-between-mercurial-and-git/#the-big-difference http://stevelosh.com/blog/2010/01/the-real-difference-betwee...
- Crito 12y ago`git checkout -b` is one of the few things that I actually think git's default CLI got wrong. The primary thing that is doing is creating a branch, checking it out is kind of tangential in a way; I think that it should be `git branch -c` I feel strongly that `git checkout file` is correct though. What that operation is doing is taking something out of the DAG and putting it into the working tree. It's the same deal, the only difference is instead of pulling a tree object (associated with a commit) from the DAG into the working tree, you are instead pulling a glob. It makes intuitive sense to me that these two operations would be accessed through the same command. Furthermore, using the name 'revert' would make much less sense in the rather frequent case that you want to pull a blob from a commit that is not the current HEAD. Is it really "reverting" if I am pulling a file from a future commit in another branch into my working tree? I don't think naming commands after less powerful concepts is a good design decision.
- enscr 12y agoAgree with your comment and almost all replies here. I'd love to switch to Git just because of Github but the UI is holding me back. Tried Git for a few months, switched to Hg & found it a lot more easy. I just don't like the swiss army knife approach of Git.
- andrewsomething 12y agoAs a refugee displaced by the Great VCS Wars, I certainly agree. Bazaar's command line interface was the thing that made me initially lean towards it rather than git.