Re: 'git branch' when origin branch with same name exists

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

 



Ryan Lortie <desrt@xxxxxxxx> writes:

> So to restate the feature request more clearly: "git branch X" with no
> explicitly specified start-point should prevent the branch "X" from
> being created when a branch with the same name already exists on a
> remote (perhaps only considering 'origin').
>
> When stated in this more explicit way, it becomes clear that a --force
> option would not even be required; you could just say:
>
>   git branch gtk-3-4 HEAD
>
> to make it clear that this was your intention.

Won't happen.  "git branch new-branch-name" has always been the way
to create from HEAD.  Suddenly requiring an extra argument is a
grave usability regression.

--
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]