|
|
|
Re: 'git branch' when origin branch with same name exists | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
On 06/19/2012 04:51 PM, Ryan Lortie wrote: > So feature request: 'git branch' should not allow creating a local > branch that has the same name as a branch that already exists on > 'origin' (or any remote?) without some sort of --force flag. It could > instead helpfully say: > > """ > > The branch you are trying to create already exists on the origin. > Are you sure you don't want to checkout this branch using > 'git checkout gtk-3-4' > > """ > > or something like that. > > Thoughts? This very much violates the distributed nature of Git. Everything is allowed, because it's *my* repository. -- 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
[Newbies FAQ] [Linux Kernel Development] [Free Online Dating] [Gcc Help] [IETF Annouce] [DCCP] [Netdev] [Networking] [Security] [V4L] [Bugtraq] [Free Online Dating] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Linux SCSI] [Fedora Users] [Linux Resources]