git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Steve Hoelzer <shoelzer@gmail.com>
Cc: git mailing list <git@vger.kernel.org>
Subject: Re: How can I specify multiple refs on one line in the config file?
Date: Wed, 7 May 2008 18:29:47 -0400	[thread overview]
Message-ID: <20080507222947.GA6427@sigill.intra.peff.net> (raw)
In-Reply-To: <20080507222813.GF5994@sigill.intra.peff.net>

On Wed, May 07, 2008 at 06:28:13PM -0400, Jeff King wrote:

> >     [remote "origin"]
> >     	push = refs/heads/* refs/tags/*
> > 
> > That doesn't work, of course, but I imagine it is possible, and I just
> > can't figure out the syntax.
> 
> I imagine it is possible, too, but not with one line. How about:
> 
>   [remote "origin"]
>     push = refs/heads/*:refs/heads/*
>     push = refs/tags/*:refs/tags/*

Aside: configuring a remote as

  [remote "origin"]
    push = refs/heads/*
    push = refs/tags/*

seems to hang forever. I didn't expect it to _work_, but probably it
should eventually terminate. ;)

-Peff

  reply	other threads:[~2008-05-07 22:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 21:15 How can I specify multiple refs on one line in the config file? Steve Hoelzer
2008-05-07 21:33 ` Thomas Adam
2008-05-07 22:19   ` Steve Hoelzer
2008-05-07 22:27     ` Miklos Vajna
2008-05-07 22:38       ` Thomas Adam
2008-05-07 23:58         ` Steve Hoelzer
2008-05-07 22:28 ` Jeff King
2008-05-07 22:29   ` Jeff King [this message]
2008-05-08  3:32     ` Jeff King

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=20080507222947.GA6427@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=shoelzer@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).