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

Re: [1.8.0] Change branch --set-uptream to take an argument

From
Jay Soffian <jaysoffian@gmail.com>
Date
Feb 2, 2011, 04:18 UTC
Message-ID
<AANLkTi=qn-Jf32iOHsaFwwcwp4_UWxcwG+t1VepO0FrC@mail.gmail.com>
In-Reply-To
<buohbcn3wp5.fsf@dhlpc061.dev.necel.com>
On Tue, Feb 1, 2011 at 11:08 PM, Miles Bader <miles@gnu.org> wrote:
Show 10 quoted lines
> Jay Soffian <jaysoffian@gmail.com> writes:
>> Okay, our emails criss-crossed. I agree with that, but my other email
>> proposes adding -u <name> with correct behavior and just deprecating
>> --set-upstream. I suppose we could instead (or in addition) just fix
>> --set-upstream.
>
> BTW, you're just talking about "git branch", right?
>
> ['cause the way "--set-upstream" works with "git push" is perfect, and
> shouldn't be changed...]

I was talking about git-branch and git-checkout. I didn't realize git-push even had --set-upstream. Interestingly, -u is an alias for --set-upstream with git-push, but not with git-branch.

j.
Previous: Miles Bader
Message 8 of 8 in “[1.8.0] Change branch --set-uptream to take an argument”
  1. Jay SoffianFeb 1, 2011
  2. Matthieu MoyFeb 1, 2011
  3. Jay SoffianFeb 1, 2011
  4. Stefan HallerFeb 4, 2011
  5. Junio C HamanoFeb 1, 2011
  6. Jay SoffianFeb 1, 2011
  7. Miles BaderFeb 2, 2011
  8. Jay SoffianFeb 2, 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.