Re: [BUG?] git remote rm repo nukes local refs for mirror repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 14 Oct 2008, Michael J Gruber wrote:

> I just noticed the hard way that "git remote rm repo" nukes all local 
> (mirrored) refs if repo had been setup with "git remote add --mirror 
> repo url".
>
> Some may argue that this behaviour fits the description "deletes all 
> remote tracking branches" but I would claim it does not: mirrored 
> branches are not remote tracking branches in the proper sense.

Count me into the former group.  If you set up a "--mirror" repository, it 
defeats the purpose to mix that with _true_ local branches.

I'd color this a pilot error,
Dscho
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux