Re: DWIM "git checkout frotz" to "git checkout -b frotz origin/frotz"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clemens Buchacher <drizzd@xxxxxx> wrote:

> > Other than "unexpected success", how is the DWIM behavior confusing,
> > given that it says exactly what it's doing when the DWIM behavior is
> > invoked?  I'm still not clear what the confusion you're referring to
> > is on this one.
> 
> I am telling git to checkout a branch. Instead it creates a branch.
> That is what is confusing to me. Until I found the commit that
> introduced it, I was sure it must be a bug.

I usually see the opposite kind of confusion on #git: someone cloned a
repository and wants to work on one of the branches. After all, we tell
everyone that clone copies all the history.

So they type "git checkout <that branch>"... and they get a weird
error (what's a pathspec, anyway?). OMGWTFBBQ! Not knowing what's going
on, they drop by in #git and hear they need to type something much less
straightforward than "git checkout <that branch>". They don't really
know why, so they probably assume it's because git is just so damn
complicated and overengineered.

I have yet to see any newish users complain about the new syntax, by the
way. You don't qualify, sorry. ;)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]