{"thread":{"id":"25929","subject":"Way to specify an exclusion refspec?","startedAt":"2010-12-02T22:17:48Z","lastAt":"2010-12-03T01:20:15Z","messageCount":2,"participants":["Dun Peal","Sverre Rabbelier"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"157158","messageId":"AANLkTi=YPJKvNW3PKcaSTRSPFCARHC=hn2OtSYOoe7DA@mail.gmail.com","threadId":"25929","inReplyTo":null,"subject":"Way to specify an exclusion refspec?","fromName":"Dun Peal","fromEmail":"dunpealer@gmail.com","sentAt":"2010-12-02T22:17:48Z","receivedAt":"2010-12-02T22:17:48Z","isPatch":false,"sender":{"key":"dunpealer@gmail.com","avatar":"https://gravatar.com/avatar/42f3e6a1166eb44e33f24c20ccbe809fa8591413f366dfe3755c8a8d4935ace9?d=mp&s=160"},"body":"Hi. The manpage describes how to specify an inclusion refspec, like\nfor example the default one that gets set for `origin` in\n`.git/config`, which tells git to include all (`*`) heads in every\nfetch operation:\n\n  +refs/heads/*:refs/remotes/origin/*\n\nBut how about specifying an exclusion refspec?  For instance, we want\nto fetch all heads (`*`) except `foo`, or all heads beginning in \"ba\"\n(`ba*`) except `bar`.\n\nThanks, D\n"},{"id":"157166","messageId":"AANLkTimXg0M8H_WrgqMJx=_r+Q=ghp1N9WaQq8NSgWCX@mail.gmail.com","threadId":"25929","inReplyTo":"AANLkTi=YPJKvNW3PKcaSTRSPFCARHC=hn2OtSYOoe7DA@mail.gmail.com","subject":"Re: Way to specify an exclusion refspec?","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2010-12-03T01:20:15Z","receivedAt":"2010-12-03T01:20:15Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Thu, Dec 2, 2010 at 23:17, Dun Peal <dunpealer@gmail.com> wrote:\n> But how about specifying an exclusion refspec?  For instance, we want\n> to fetch all heads (`*`) except `foo`, or all heads beginning in \"ba\"\n> (`ba*`) except `bar`.\n\nThis has come up before, it's not currently possible, but I think\nthere's interest in having it implemented.\n\n-- \nCheers,\n\nSverre Rabbelier\n"}]}