Way to specify an exclusion refspec?

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Way to specify an exclusion refspec?

From: Dun Peal <hidden>
Date: 2016-06-15 22:50:09

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

Re: Way to specify an exclusion refspec?

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:50:09

Heya,

On Thu, Dec 2, 2010 at 23:17, Dun Peal [off-list ref] wrote:
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`.
This has come up before, it's not currently possible, but I think
there's interest in having it implemented.

-- 
Cheers,

Sverre Rabbelier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help