Re: How can I specify multiple refs on one line in the config file?
- From
Jeff King <peff@peff.net>
- Date
- May 7, 2008, 22:29 UTC
- Message-ID
- <20080507222947.GA6427@sigill.intra.peff.net>
- In-Reply-To
- <20080507222813.GF5994@sigill.intra.peff.net>
On Wed, May 07, 2008 at 06:28:13PM -0400, Jeff King wrote:
Show 11 quoted lines
> > [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