git push
Pushes everything, in every branch. git pull
Whoops, won't let me do that without providing a branch.My git pull pulls the current branch...
Right, and isn't that what legit is providing here? Sane defaults. I'm in favor.
The only way this could be justified is as a concept build to pass back to the community.
https://github.com/kennethreitz/legit/blob/develop/legit/cli...
You making sound like something bad for your health.
An alternative syntax can make:
1) usage simpler 2) multiple step processes turn to one step 3) commands easier to remember 4) less error prone
(or the opposite, depending on the specifics of the new syntax).
So, no, this is not "just syntactic sugar" this is "new syntax", that is: an alternative command line user interface.
I am on the fence as to whether this is clarifying or not. Git's problem is not just that the command structure is... esoteric, it's that once you're off the golden path, finding your way back onto the path is extraordinarily difficult.
I am unclear as to what extent legit mitigates the second (thornier) problem.
Only if everyone increments with it. If you have half a team using one set of terminology and half the other then it's going to end in an unholy mess.
Exactly! And that lingua franca already exists. This is only useful if you would like a new syntax for personal use and you're too lazy to or don't want to use 'git alias'.
Well, the lingua franca that "already exists" is the standard git syntax.
This syntax pains some people. Now, to alleviate the pain they could either use each their own aliases OR they could share a common new "lingua franca" of aliases.
That's what this project does.
In other words, what you're saying is:
1) a lingua franca is important 2) so use standard git, which is a lingua franca, or have your own personal aliases.
This just doesn't follow.
If a lingua franca is important, then, FOR THE SUBSET OF PEOPLE THAT DON'T LIKE GIT SYNTAX, to have a common alias lingua franca is also important.
It doesn't matter that it's less of a "lingua franca" that standard git-alese, because it is still a lingua franca for that subset, and solves the problem they have with the more established lingua franca.