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

Re: [RFC/PATCH] branch: new option --will-track

From
Andreas Krey <a.krey@gmx.de>
Date
Dec 18, 2009, 06:18 UTC
Message-ID
<20091218061851.GA10221@inner.home.ulmdo.de>
In-Reply-To
<7vaaxhdu1f.fsf@alter.siamese.dyndns.org>

On Thu, 17 Dec 2009 16:07:08 +0000, Junio C Hamano wrote: ...

> Also "git pull --remember $there $this" might be a good way to tell the
> configuration mechanism from the UI to remember that "I always want to
> merge $this branch from $there while on the branch I am currently on", and
> its implementation may probably use "git branch --reconfigure" internally.

Actually my favorite would be 'git push --track $there', pushing the current local branch to $there and setting up tracking. That way the tracking decision need not be made before the remote branch actually exists.

Andreas
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 5 in “branch: new option --will-track”
  1. branch: new option --will-trackDave Olszewski, Dec 16, 2009
  2. Junio C HamanoDec 18, 2009
  3. Andreas KreyDec 18, 2009
  4. Junio C HamanoDec 18, 2009
  5. Nanako ShiraishiJan 5, 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.