Thread (8 messages) flat view 8 messages, 4 authors, 2016-06-15

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

From: Miles Bader <hidden>
Date: 2016-06-15 22:48:56

On Tue, Jun 8, 2010 at 4:29 PM, Clemens Buchacher [off-list ref] wrote:
Eventually, if they are lucky, they will learn in #git that they
were supposed to "git merge <remote>/X."
They don't have to do that, they just have to do "git pull".  This
concept -- that to get the latest changes, one pulls -- is something
people learn very early.

So, in fact it seems quite natural -- you switch to a local branch
with "git co branch", and then if git tells you it's not up-to-date,
you "git pull".  All nice and smooth and simple and standard.  The
DWIM simply makes the first time less clumsy, and while everybody
benefits, beginners probably benefit a bit more.

-Miles

-- 
Do not taunt Happy Fun Ball.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help