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

Re: [PATCH] git builtin "push"

From
JGJeff Garzik <jeff@garzik.org>
Date
Apr 30, 2006, 19:58 UTC
Message-ID
<445516F5.1090204@garzik.org>
In-Reply-To
<Pine.LNX.4.64.0604292111570.9901@g5.osdl.org>
Linus Torvalds wrote:
Show 5 quoted lines
> Now, the reason I did it as a built-in is partly because it's yet another 
> step on relying less on shell, but it's actually mostly because I've 
> wanted to be able to push to _multiple_ repositories, and the most obvious 
> and simplest interface for that would seem be to just have a "remotes" 
> file that has multiple URL entries.

Thanks! This is why I still use rsync, even though everybody and their mother tells me "Linus says rsync is deprecated."

Fact is, rsync is still the best to push a _bunch_ of branches, in the same tree, all in one command. In an attempt to get away from rsync, I even tried putting multiple git:// entries into .git/remotes/origin, then doing "git push" with no args, without success.

Each time I have a non-trivial libata update, I've updated twelve (12) branches, and think its highly silly to have to run

	url=git://git.kernel.org/...jgarzik/...
	git push $url $branch:$branch
twelve times.
	Jeff
Previous: seanNext: Linus Torvalds
Message 4 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.