Re: [PATCH] Documentation: update git-pull.txt for clone's new default behavior
- From
- J. Bruce Fields <bfields@fieldses.org>
- Date
- Jan 2, 2007, 00:06 UTC
- Message-ID
- <20070102000606.GA32148@fieldses.org>
- In-Reply-To
- <535252.4420.qm@web31811.mail.mud.yahoo.com>
On Mon, Jan 01, 2007 at 03:59:44PM -0800, Luben Tuikov wrote:
Show 8 quoted lines
> --- "J. Bruce Fields" <bfields@fieldses.org> 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.
--b.