Re: DWIM "git checkout frotz" to "git checkout -b frotz origin/frotz"
- From
Clemens Buchacher <drizzd@aon.at>
- Date
- Jun 7, 2010, 18:29 UTC
- Message-ID
- <20100607182956.GA17343@localhost>
- In-Reply-To
- <AANLkTilvHl-8eA6CbEDs4ty3h0h670L_enGsXunHxaPE@mail.gmail.com>
On Sun, Jun 06, 2010 at 02:26:08PM -0700, Jacob Helwig wrote:
Show 9 quoted lines
> > > And this is exactly _why_ it can be marginally useful if the > > foretelling is correct, but all the more confusing if it's not. > > > > 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.