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

Re: branch --set-upstream considered harmful

From
Thomas Rast <trast@student.ethz.ch>
Date
Jun 7, 2010, 06:37 UTC
Message-ID
<201006070837.16713.trast@student.ethz.ch>
In-Reply-To
<AANLkTildT6TRd0sPlv1QbCLO7oOPHM-L1yWNIdhdp0ex@mail.gmail.com>
Jay Soffian wrote:
> 
> Git is inconsistent.
[...]
> $ git branch --set-upstream=origin/master
> $ git branch --set-upstream origin/master
Doesn't this just make it *more* confusing?

Either we document this, and the user will be left wondering why we have two almost identical (and by the conventions of many other programs, including git-send-email, *equivalent*) syntaxes doing, well, something not quite entirely unlike the same.

Or we don't, and the user will eventually typo it and wonder WTF he just did wrong.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Jay SoffianNext: Jay Soffian
Message 4 of 6 in “branch --set-upstream considered harmful”
  1. Jay SoffianJun 6, 2010
  2. Tay Ray ChuanJun 7, 2010
  3. Jay SoffianJun 7, 2010
  4. Thomas RastJun 7, 2010
  5. Jay SoffianJun 7, 2010
  6. Michael J GruberJun 7, 2010

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.