From: Junio C Hamano Date: Tue, 02 Jan 2007 00:12:29 GMT Subject: Re: [PATCH] Documentation: update git-pull.txt for clone's new default behavior Message-ID: <7vhcva4782.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070102000606.GA32148@fieldses.org> "J. Bruce Fields" writes: > On Mon, Jan 01, 2007 at 03:59:44PM -0800, Luben Tuikov wrote: >> --- "J. Bruce Fields" wrote: >> > +git pull origin next:: >> >> No. >> >> > + Merge into the current branch the remote branch `next`; >> >> So, "origin" now means "current branch". > > No, "origin" refers to the remote repository that you originally cloned > from. > > Pulls always merge into the current branch. So it wouldn't make sense > to specify the current branch on the command line. I was also somewhat confused by these examples. I think the description is fine as long as we make it clear that they are not meant to describe what an advanced user _could_ do with various customizations, but to describe what happens with the default configuration set up by git-clone.