From: Jon Loeliger <jdl@freescale.com>
To: Adr3nal D0S <adr3nald0s@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Multiple remote.<...>.fetch and .push patterns
Date: Mon, 30 Jun 2008 14:29:56 -0500 [thread overview]
Message-ID: <48693434.4090402@freescale.com> (raw)
In-Reply-To: <308083c30806301158i1100c84dqe7f50daad417934c@mail.gmail.com>
Adr3nal D0S wrote:
> How can I do something like what is shown in Everyday git using git-config?
>
> $ cat .git/remotes/ko
> URL: kernel.org:/pub/scm/git/git.git
> Pull: master:refs/tags/ko-master
> Pull: next:refs/tags/ko-next
> Pull: maint:refs/tags/ko-maint
> Push: master
> Push: next
> Push: +pu
> Push: maint
>
> I know I can do:
>
> git config remote.ko.fetch refs/heads/*:refs/tags/ko-*
>
> but that will get all KO heads. And I have no clue about the push version.
The file is editable!
You can have both Push: and Pull: lines for a remote there.
Or have I misunderstood your question here?
jdl
next prev parent reply other threads:[~2008-06-30 19:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-30 18:58 Multiple remote.<...>.fetch and .push patterns Adr3nal D0S
2008-06-30 19:29 ` Jon Loeliger [this message]
2008-06-30 19:52 ` Adr3nal D0S
2008-07-01 9:00 ` Michael J Gruber
2008-07-01 9:27 ` Junio C Hamano
2008-07-01 9:59 ` Michael J Gruber
2008-07-01 13:04 ` Jakub Narebski
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=48693434.4090402@freescale.com \
--to=jdl@freescale.com \
--cc=adr3nald0s@gmail.com \
--cc=git@vger.kernel.org \
/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).