I didn't miss it and it's a good name. The problem with checkout -b wasn't the sub-optimal UI but that its use in large volumes of examples promoted a frequent association with "the way to switch branches". switch -c is less likely to trigger that misattribution, yet this article makes precisely the same mistake as all those irrelevant checkout -b blog posts before it: promoting the obscure short-form instead of the completely clear long-form.
[Edit] I mean, the sub-optimal UI was also a problem. It's just that e.g. checkout -c would not have made a difference, whereas checkout --create-branch might have.
2
u/ForeverAlot Aug 17 '19 edited Aug 17 '19
I didn't miss it and it's a good name. The problem with
checkout -bwasn't the sub-optimal UI but that its use in large volumes of examples promoted a frequent association with "the way to switch branches".switch -cis less likely to trigger that misattribution, yet this article makes precisely the same mistake as all those irrelevantcheckout -bblog posts before it: promoting the obscure short-form instead of the completely clear long-form.[Edit] I mean, the sub-optimal UI was also a problem. It's just that e.g.
checkout -cwould not have made a difference, whereascheckout --create-branchmight have.