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

Re: [PATCH] git-push: add option --repo-all

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 18, 2009, 08:52 UTC
Message-ID
<m3r5u43a8h.fsf@localhost.localdomain>
In-Reply-To
<1253258222-11475-1-git-send-email-catap@catap.ru>
"Kirill A. Korinskiy" <catap@catap.ru> writes:
Show 7 quoted lines
> Example of usage: I write some software on my laptop and some time
> pushing to my home/private server for backup. Some time ago my
> software is done and I openin it on github, but I'm don't like kill my
> private repos. Now update a two remotes repo is'n sexy, because I'm
> need using a some shell wrapper:
> 
>     git remote show | while read repo; do git push $repo; done
Signoff?
Show 6 quoted lines
> ---
>  Documentation/git-push.txt |    4 ++-
>  builtin-push.c             |   34 +++++++++++++++++++++-----------
>  t/t5523-push-repo-all.sh   |   46 ++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 71 insertions(+), 13 deletions(-)
>  create mode 100755 t/t5523-push-repo-all.sh

I have created 'pushall' *alias* for that purpose, but I think that such functionality would be better added to "git remote" rather than to "git push".

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Kirill A. KorinskiyNext: Kirill A. Korinskiy
Message 2 of 6 in “git-push: add option --repo-all”
  1. git-push: add option --repo-allKirill A. Korinskiy, Sep 18, 2009
  2. Jakub NarebskiSep 18, 2009
  3. git-push: add option --repo-allKirill A. Korinskiy, Sep 18, 2009
  4. Junio C HamanoSep 18, 2009
  5. Jakub NarebskiSep 18, 2009
  6. Paolo BonziniSep 18, 2009

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.