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