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, 11:02 UTC
Message-ID
<200909181302.49335.jnareb@gmail.com>
In-Reply-To
<877hvwzkw7.wl%catap@catap.ru>
Kirill A. Korinskiy wrote:
> At Fri, 18 Sep 2009 01:52:49 -0700 (PDT),
> Jakub Narebski <jnareb@gmail.com> wrote:
> > "Kirill A. Korinskiy" <catap@catap.ru> writes:
Show 17 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".
> 
> not sure, because git remote make interface for managment remotes
> repos and push make interface for pushing to remote repo. I just add a
> pushing to all repos.
> 
> I thought about pushing to some remotes repos, yes, but could not come
> up with a good symantics.

Well, git-remote has "git remote update" subcommand for fetching from a group of remote repositories, so it is not only about managing remotes. I think "git remote push" (or something like that) would fit in git-remote area of competence.

Besides git-remote understands groups of remote repositories for fetch (update), which would be (I think) a good idea also for push.

-- 
Jakub Narebski
Poland
Previous: Junio C HamanoNext: Paolo Bonzini
Message 5 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.