git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git user survey and `git pull`

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 21, 2006, 17:17 UTC
Message-ID
<eeuhe8$i66$1@sea.gmane.org>
In-Reply-To
<Pine.LNX.4.64.0609211259340.2627@xanadu.home>
Nicolas Pitre wrote:
Show 22 quoted lines
> On Thu, 21 Sep 2006, Shawn Pearce wrote:
> 
>> I think its probably too late to change the UI[*1*] but I think
>> it is definately an issue for folks learning Git.  Calling push
>> push, fetch fetch and fetch+merge pull is probably a design flaw.
>> IMHO it probably should have been something like:
>> 
>>   Current            Shoulda Been
>>   ---------------    ----------------
>>   git-push           git-push
>>   git-fetch          git-pull
>>   git-pull . foo     git-merge foo
>>   git-pull           git-pull --merge
>>   git-merge          git-merge-driver
>> 
>> in other words pull does the download and doesn't automatically
>> start a merge unless --merge was also given and git-merge is a
>> cleaner wrapper around the Grand Unified Merge Driver that makes
>> it easier to start a merge.
> 
> I must say that I second this.  Although I'm rather familiar with GIT I 
> still feel unconfortable with the current naming and behavior.

Using git-pull . <branch> for _merge_, and git-merge being mid-level command (one of the arguments is <msg>, instead of having git-commit like ways to provide/amend commit message) is somewhat confusing.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Johannes SchindelinNext: Matthias Urlichs
Message 12 of 16 in “Git user survey and `git pull`”
  1. Shawn PearceSep 21, 2006
  2. Petr BaudisSep 21, 2006
  3. Linus TorvaldsSep 21, 2006
  4. Nicolas PitreSep 21, 2006
  5. Junio C HamanoSep 22, 2006
  6. SantiSep 22, 2006
  7. Junio C HamanoSep 22, 2006
  8. SantiSep 22, 2006
  9. Nicolas PitreSep 21, 2006
  10. Shawn PearceSep 21, 2006
  11. Johannes SchindelinSep 21, 2006
  12. Jakub NarebskiSep 21, 2006
  13. Matthias UrlichsSep 22, 2006
  14. Alan ChandlerSep 23, 2006
  15. Johannes SchindelinSep 23, 2006
  16. Jakub NarebskiSep 23, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.