RE: Git checkout multiple options issue
- From
Randall S. Becker <rsbecker@nexbridge.com>
- Date
- Jan 28, 2019, 14:12 UTC
- Message-ID
- <000201d4b713$7edcd3d0$7c967b70$@nexbridge.com>
- In-Reply-To
- <HE1PR01MB3722DCA42B6E16CB9DEEC29EA9960@HE1PR01MB3722.eurprd01.prod.exchangelabs.com>
On January 28, 2019 8:25, COLLOMB Joris wrote:
Show 6 quoted lines
> git checkout -fb "branch_name" > (force branch creation and checkout it) > > doesn't work (even if option a separated). > > I don't know if this is consider as an issue, but here it is.
I think you might mean (which works on every platform I have):
git checkout -f -b "branch_name"
There is no provision for aggregating options into one. -fb (invalid) is not the same as -f -b (valid).
Regards, Randall
-- Brief whoami: NonStop developer since approximately 211288444200000000 UNIX developer since approximately 421664400 -- In my real life, I talk too much.