Re: 'git branch' when origin branch with same name exists
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 19, 2012, 21:32 UTC
- Message-ID
- <7v8vfjyolq.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4FE0E493.1010308@desrt.ca>
Ryan Lortie <desrt@desrt.ca> writes:
Show 11 quoted lines
> 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.