From: Robert Simpson Date: Tue, 28 Apr 2020 23:12:42 GMT Subject: Git error message suggests an invalid switch Message-ID: <60af77100df823b4112c08e6c1b8533f.squirrel@socialwebmail.com> The command below shows an error message that says "try -b". However "-b" is not a valid switch for the command, as indicated by "unknown swtich 'b'" when that has been added to the command. -------------------------------------------------------------------- git switch "master" --track "origin/master" fatal: missing branch name; try -b git switch -b "master" --track "origin/master" error: unknown switch `b' usage: git switch [] [] -c, --create create and switch to a new branch -C, --force-create create/reset and switch to a branch --guess second guess 'git switch ' --discard-changes throw away local modifications -q, --quiet suppress progress reporting --recurse-submodules[=] control recursive updating of submodules --progress force progress reporting -m, --merge perform a 3-way merge with the new branch --conflict