1

git checkout -b<sd_6153_update_mapfre_bop_question>

By giving this command to create branch and switch to it, I am getting this o/p.

I don't have idea why this is happening:

zsh: parse error near `\n'
torek
  • 448,244
  • 59
  • 642
  • 775
  • 1
    It's because you used `>` without a file name. You would have gotten a different error if you wrote `git checkout -b ` angle brackets in your command? – torek Aug 20 '21 at 05:43

1 Answers1

1

On Linux (since zsh is involved):

That is:

cd /path/to/repository
git switch -c sd_6153_update_mapfre_bop_question

Note: no < >, which would not be interpreted correctly by the shell.

Once that is working (confirmed by a git status), go back to VSCode.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250