Re: GC of alternate object store
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 30, 2012, 16:03 UTC
- Message-ID
- <7vbohstlih.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120830095314.GA29038@troll08.europe.nokia.com>
Oswald Buddenhagen <ossi@kde.org> writes:
Show 8 quoted lines
>> Doesn't >> >> git push $over_there 'refs/*:refs/remotes/mine/*' >> >> push your tag v1.0 to refs/remotes/mine/v1.0 over there? The >> version of git I ship seems to do this just fine. >> > as i wrote before, i'm pulling, not pushing,...
You would need to decline the automatic tag following with --no-tags (which in hindsight is misnamed; it really means "do not auto-follow tags"), like so:
cd $over_there &&
git fetch --no-tags $my_repository 'refs/*:refs/remotes/mine/*'Otherwise, you will also get tags in refs/tags/.