From: Junio C Hamano Date: Mon, 26 Sep 2011 22:30:33 GMT Subject: Re: [BUG?] git fetch -p -t prunes all non-tag refs Message-ID: <7vehz30wdy.fsf@alter.siamese.dyndns.org> In-Reply-To: <20110926184739.GA11745@erythro.kitwarein.com> Ben Boeckel writes: > When the --prune and --tags options are given to git fetch together, all > non-tag refs are pruned because only tags are looked at and when pruning > it appears as if the branches have disappeared and are therefore deleted > locally. I would call that a bug, and it is not limited to the use of "--tags". For example, I suspect that $ git fetch --prune origin refs/heads/master:refs/remotes/origin/master would prune remote tracking branches for "origin" other than "master".