From: Jonathan Nieder <jrnieder@gmail.com>
To: Kevin Sheedy <kevinsheedy@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Push to all repositories
Date: Wed, 8 Dec 2010 12:00:49 -0600 [thread overview]
Message-ID: <20101208180049.GC5687@burratino> (raw)
In-Reply-To: <1291829983410-5816069.post@n2.nabble.com>
Kevin Sheedy wrote:
> Basically, I want every developer to be able to push their code to the whole
> team.
What does this mean, in practice? Do you want (1) the code in their
working directories to change under their feet, (2) the code you've
written to be immediately available to them in case they pull out the
network cable, or something else?
If case (2), then git currently provides support for fetching from
multiple repositories at once:
$ git fetch --multiple alice bob sam
but does not include such support for pushing. One can do so explicitly
like so:
$ for repo in alice blob sam
do
git push $repo *:refs/remotes/kevin/*
done
Regards,
Jonathan
next prev parent reply other threads:[~2010-12-08 18:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-08 17:39 Push to all repositories Kevin Sheedy
2010-12-08 18:00 ` Jonathan Nieder [this message]
2010-12-08 22:59 ` Kevin Sheedy
2010-12-09 12:36 ` Kevin Sheedy
2010-12-09 12:47 ` Nguyen Thai Ngoc Duy
2010-12-09 13:36 ` Martin von Zweigbergk
2010-12-09 19:52 ` Jonathan Nieder
2011-01-02 9:54 ` Enrico Weigelt
2010-12-12 15:09 ` Enrico Weigelt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101208180049.GC5687@burratino \
--to=jrnieder@gmail.com \
--cc=git@vger.kernel.org \
--cc=kevinsheedy@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).