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

Re: [PATCH] git builtin "push"

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 30, 2006, 21:05 UTC
Message-ID
<Pine.LNX.4.64.0604301405070.2922@g5.osdl.org>
In-Reply-To
<BAYC1-PASMTP037751CEC096DA29400513AEB00@CEZ.ICE>
On Sun, 30 Apr 2006, sean wrote:
Show 15 quoted lines
> On Sun, 30 Apr 2006 13:07:42 -0700 (PDT)
> Linus Torvalds <torvalds@osdl.org> wrote:
> 
> > The way it works is that
> > 
> > 	"git push repo"
> > 
> > with no branch specs will update all branches that are IN COMMON between 
> > your tree and the repository you're pushing to. In other words, it's meant 
> > to sync up the branches that you have already pushed.
> 
> True, as long as you don't have any Push: lines in your .git/remotes/repo
> file.  Any such lines act just like you gave them on the command line
> which afaik effectively removes the ability to say "update all branches
> we have in common".
Ok, so my built-in version "fixes" that "feature". 
		Linus
Previous: seanNext: Junio C Hamano
Message 7 of 9 in “git builtin "push"”
  1. git builtin "push"Linus Torvalds, Apr 30, 2006
  2. Junio C HamanoApr 30, 2006
  3. seanApr 30, 2006
  4. Jeff GarzikApr 30, 2006
  5. Linus TorvaldsApr 30, 2006
  6. seanApr 30, 2006
  7. Linus TorvaldsApr 30, 2006
  8. Junio C HamanoApr 30, 2006
  9. Jeff GarzikApr 30, 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.