Re: DWIM "git checkout frotz" to "git checkout -b frotz origin/frotz"
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 8, 2010, 13:04 UTC
- Message-ID
- <vpqaar5r7zh.fsf@bauges.imag.fr>
- In-Reply-To
- <AANLkTimOenmDE53LZJY2yVNkMh7-6PS3yBiaprWC_Po6@mail.gmail.com>
demerphq <demerphq@gmail.com> writes:
Show 12 quoted lines
> On 8 June 2010 09:29, Clemens Buchacher <drizzd@aon.at> wrote: >> No they did not, because last time they _created a branch_. >> Eventually, if they are lucky, they will learn in #git that they >> were supposed to "git merge <remote>/X." And they will think "WTF? >> Why do I have to _merge_? And what's this business about remotes? >> Why is git is so complicated?" > > I'm confused. Wont they actually be told: > > git checkout $foo > git pull > git push
Right. Just like they learnt clone/push/pull before knowing about remote and tracking branches, because clone did the magic for them when creating the repo.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/