Re: How can I specify multiple refs on one line in the config file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux