Way to specify an exclusion refspec?

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

 



Hi. The manpage describes how to specify an inclusion refspec, like
for example the default one that gets set for `origin` in
`.git/config`, which tells git to include all (`*`) heads in every
fetch operation:

  +refs/heads/*:refs/remotes/origin/*

But how about specifying an exclusion refspec?  For instance, we want
to fetch all heads (`*`) except `foo`, or all heads beginning in "ba"
(`ba*`) except `bar`.

Thanks, D
--
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]