From: Jakub Narebski Date: Fri, 18 Sep 2009 11:02:45 GMT Subject: Re: [PATCH] git-push: add option --repo-all 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 wrote: > > "Kirill A. Korinskiy" writes: > > > --- > > > 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