3 ms·
What are gits huge problems and what other technology solves those? Not trying to put you on the spot, just curious.
by nightcracker 12y ago
What are gits huge problems and what other technology solves those?
Not trying to put you on the spot, just curious.
- Matumio 12y agoIMO the main problem is that the command vocabulary is a mess. Do I need a soft, mixed or hard reset? Can I use "reset" to revert a single file, or do I need "checkout" for that? After years of using and loving git, this still confuses me. It's all logical in terms of git internals, but I'm not thinking in those terms when I want to revert something.
- pjc50 12y agoThe "plumbing" is beautiful and the "porcelain" is a hideous mess.
- ZeroGravitas 12y agoAnd this will never get fixed so long as people keep denying there's a problem. Even when people want to fix stuff like this it's hard to transition well from where you are to where you want to be, but at the moment people seem to be able to use this poorly evolved interface daily without noticing these ridiculous and uneccesary inconsistancies.
- beagle3 12y agoThere are countless git frontends (easygit and git legit) that come to mind, and yet they all see negligible use. I think the cognitive load of using git is overrated. Yes, it could probably be simpler. No, you probably can't make simple and intuitive for everyone while retaining all the features. Given that it's also easy to work with e.g. subversion or mercurial and a git bridge, so you can use the client of your choice with a git server, and yet no one seems to do that is an indication that git is sufficiently simple to use.
- smt88 12y ago> yet they all see negligible use. Evidence? Using my own anecdotal evidence, I strongly disagree. I checked volume for GUI-related keywords[1] against CLI-related keywords[2]. The GUI-related keywords get ~34,000 searches per month. The CLI-related keywords get ~4,500. My methodology and data aren't perfect, but it's something at least. Your premises are: - People use tools that are sufficiently simple. - People use git CLI instead of git GUIs. And your argument is: - Git CLI is sufficiently simple. Your first premise is just wrong. People use complicated things all the time because they don't know about simpler things. People also often think things are simple and then use them wrong. In my experience, a LOT of people use git wrong/dangerously. I've addressed your second premise above. There isn't (and may never be) good data there, though. [1] git gui; smartgit; git client; git tower; github gui; git frontend [2] git command; git "command line"; git cli
- beagle3 12y agoYou misread me, and it is my fault. I wrote "front ends" meaning CLI front ends, and gave two examples. You read that as "GUI front ends" and replied accordingly. So, let me restate my argument (which I suspect you may still disagree with - but hopefully this time you'll disagree with what I actually meant to claim...) The main complaint that I have heard about git is that its command line is an incoherent inconsistent unusable mess. My opinion is that is true, it perceived to be a much bigger problem than in really is - there are lots of CLI alternatives to working with git, and their use is negligible compared to actual git CLI use. Therefore, I suspect, a perfect git CLI would not have made a big difference in adoption. The other thing is git is incredibly flexible. Almost no one uses all the options, but much like Microsoft Word, everyone uses a different 20%. And I suspect any system with this level of flexibility is likely to be complex. Which is not to say git is at an optimum; only to say that there's a reason there's not an accepted "perfect" CLI (for git or another VCS) - inherent complexity associated with flexibility.
- NateDad 12y agoThe git CLI is a mess. It's inconsistent even within its own commands. For example, sometimes specifying remote and branch is done as "remote/branch" and sometimes as "remote branch". It even uses different words for the same thing - sometimes remove, sometimes rm sometimes -d. Common actions often require obscure command lines, like "make a new branch" which is git checkout -b instead of just "git branch". The reason people don't use other git frontends is that a vast majority of the help topics already out there only reference git itself. So if you want help for rebase, for example, if you're using some frontend that re-kajiggers the command line, all that help is now useless, or even worse, potentially downright incorrect.