From: Jeff King Date: Wed, 07 May 2008 22:28:13 GMT Subject: Re: How can I specify multiple refs on one line in the config file? Message-ID: <20080507222813.GF5994@sigill.intra.peff.net> In-Reply-To: <588192970805071415wb7b502ch2047ac5e4865c296@mail.gmail.com> On Wed, May 07, 2008 at 04:15:47PM -0500, Steve Hoelzer wrote: > How can I specify multiple refs on one line in the config file? For > example, I want "git push" to push all heads and all tags by default > so I tried this: > > [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/* -Peff