From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rene Herman Subject: Re: "git pull . " versus "git merge " Date: Wed, 11 Jun 2008 03:13:45 +0200 Message-ID: <484F26C9.9080608@keyaccess.nl> References: <484F2174.9020508@keyaccess.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: git To: David Symonds X-From: git-owner@vger.kernel.org Wed Jun 11 03:15:28 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1K6Evs-0002SD-6H for gcvg-git-2@gmane.org; Wed, 11 Jun 2008 03:15:24 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757580AbYFKBOH (ORCPT ); Tue, 10 Jun 2008 21:14:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755072AbYFKBOG (ORCPT ); Tue, 10 Jun 2008 21:14:06 -0400 Received: from smtpq1.groni1.gr.home.nl ([213.51.130.200]:58793 "EHLO smtpq1.groni1.gr.home.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757580AbYFKBNk (ORCPT ); Tue, 10 Jun 2008 21:13:40 -0400 Received: from [213.51.130.189] (port=50953 helo=smtp2.groni1.gr.home.nl) by smtpq1.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1K6EuB-0002j3-QL; Wed, 11 Jun 2008 03:13:39 +0200 Received: from cc334381-b.groni1.gr.home.nl ([82.73.12.33]:39134 helo=[192.168.0.3]) by smtp2.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1K6EuB-000562-L8; Wed, 11 Jun 2008 03:13:39 +0200 User-Agent: Thunderbird 2.0.0.14 (X11/20080421) In-Reply-To: X-Spam-Score: -1.0 (-) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On 11-06-08 03:06, David Symonds wrote: > On Wed, Jun 11, 2008 at 10:51 AM, Rene Herman wrote: > >> The manpages seem to be making somewhat of a point of mentioning "git pull . >> " as the way to merge a local branch into the current one but a >> simple "git merge " seems to work well. Is there a difference? > > git pull also does a fetch in it's usual mode of operation, and runs > git merge to do merge changes in the remote-tracking branches. So in the case of merging a branch from the local repository into the current branch, there is no difference between the two? Rene.