From: Junio C Hamano Date: Thu, 07 Jan 2016 23:15:59 GMT Subject: Re: how to fetch entire heirarchy of refs from a remote? Message-ID: In-Reply-To: Jacob Keller writes: > refs/changes/98/47298/3 > refs/changes/98/57298/1 > refs/changes/98/57298/2 > refs/changes/98/73598/1 > refs/changes/99/44099/1 > refs/changes/99/69299/1 > > > Is it possible to specify a refspec such that all of these will be > fetched? I tried doing > > +refs/changes/*:refs/changes/* > > but this doesn't work since the * can only be one portion of a refspec I am not sure if I follow. With refs/heads/*:refs/remotes/origin/* (e.g. following git://github.com/gitster/git for example), I am reasonably sure you would get my refs/heads/jk/notes-dwim-doc and other topics you authored without the slash between jk and notes-dwim-doc getting in the way.