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

Re: [PATCH 2/2] git push: add verbose flag and allow overriding of default target repository

From
Junio C Hamano <junkio@cox.net>
Date
Oct 30, 2006, 23:02 UTC
Message-ID
<7vy7qxtnkg.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0610300825470.25218@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 24 quoted lines
> This adds a command line flag "-v" to enable a more verbose mode, and 
> "--repo=" to override the default target repository for "git push" (which 
> otherwise always defaults to "origin").
>
> This, together with the patch to allow dashes in config variable names, 
> allows me to do
>
> 	[alias]
> 		push-all = push -v --repo=all
>
> in my user-global config file, and then I can (for any project I maintain) 
> add to the project-local config file
>
> 	[remote "all"]
> 		url=one.target.repo:/directory
> 		url=another.target:/pub/somewhere/else
>
> and now "git push-all" just updates all the target repositories, and shows 
> me what it does - regardless of which repo I am in.
>
> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
> ---
>
> Maybe this is just useful to me?  I dunno.

I would say if something is useful to you it is useful to your subsystem people and anybody who has a public tree and more than one machines to verify the tips of his branches on, including me.

Previous: Linus TorvaldsNext: Junio C Hamano
Message 3 of 9 in “Allow '-' in config variable names”
  1. 1/2 Allow '-' in config variable namesLinus Torvalds, Oct 30, 2006
  2. 2/2 git push: add verbose flag and allow overriding of default target repositoryLinus Torvalds, Oct 30, 2006
  3. Junio C HamanoOct 30, 2006
  4. Junio C HamanoOct 31, 2006
  5. Junio C HamanoOct 30, 2006
  6. Junio C HamanoOct 31, 2006
  7. J. Bruce FieldsOct 31, 2006
  8. Linus TorvaldsOct 31, 2006
  9. Johannes SchindelinOct 31, 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.