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

Re: [PATCH] merge: default to @{upstream}

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jan 28, 2011, 17:53 UTC
Message-ID
<AANLkTikToBdcqPRx3Gu53r9vS6mwhoi1DS4GV63nOcxH@mail.gmail.com>
In-Reply-To
<1296233099.12855.14.camel@drew-northup.unet.maine.edu>
On Fri, Jan 28, 2011 at 6:44 PM, Drew Northup <drew.northup@maine.edu> wrote:
Show 6 quoted lines
> Honestly, I'd prefer that this NOT be merged in. When I mess up the
> command line I am typing I don't want some sort of hidden magic to kick
> in--I want it to tell me that I did something stupid by printing out the
> help message. This is standard to a large number of commands that by
> default expect a certain number of operands and I don't see any good
> reason why git merge should be any different.

git checkout (defaults to HEAD) git diff (defaults to HEAD) git fetch (defaults to origin) git format-patch (defaults to HEAD) git log (defaults to HEAD) git pull (defaults to origin) git show (defaults to HEAD)

How is this different from 'git pull'? If you are not sure about the 'git merge' command, then type 'git help merge' instead. Just like if you are not sure about the 'git pull' command. If you type any of these two, a merge would happen, and you can revert it easily with 'git reset --hard HEAD^'.

-- 
Felipe Contreras
Previous: Drew NorthupNext: Jonathan Nieder
Message 3 of 9 in “merge: default to @{upstream}”
  1. merge: default to @{upstream}Felipe Contreras, Jan 28, 2011
  2. Drew NorthupJan 28, 2011
  3. Felipe ContrerasJan 28, 2011
  4. Jonathan NiederJan 28, 2011
  5. Felipe ContrerasJan 28, 2011
  6. Jonathan NiederJan 30, 2011
  7. Bert WesargJan 28, 2011
  8. Martin von ZweigbergkJan 28, 2011
  9. Miles BaderJan 31, 2011

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.