From: Junio C Hamano Date: Thu, 20 Jun 2013 23:36:01 GMT Subject: Re: [PATCH] remote: make prune work for mixed mirror/non-mirror repos Message-ID: <7vd2rgpd7i.fsf@alter.siamese.dyndns.org> In-Reply-To: <1371770988.17896.58.camel@localhost> Dennis Kaarsemaker writes: > I'm not doing that in non-bare repositories, neither do I use it for > pushing. It's for a continuous integration system, which never has any > locally created branches or commits, but does integrate things from > different remotes in some cases. Perhaps then [remote "origin"] url = somewhere fetch = +refs/heads/*:refs/heads/* fetch = +refs/tags/*:refs/tags/* [remote "another"] url = somewhere-else fetch = +refs/heads/*:refs/remotes/another/* [remote "third"] url = third-place fetch = +refs/heads/*:refs/remotes/third/* would be sufficient? You may not even need tags, but that is an independent issue.