VSCode use git problem encountered in the process

1, in the configuration file, an error "Invalid escape character in string.jsonc (261)"

  When you configure git path in setting.json, the new key-value pair "git.path": after: "D \ Git \ cmd \ git.exe", you will be prompted this error, which is due to lead to the escape string parsing .

  Resolve this problem, try switching to lower wording:

    "git.path":"D:/Git/cmd/git.exe"  或  "git.path":"D:\\Git\\cmd\\git.exe"
  - Extended:
 

Guess you like

Origin www.cnblogs.com/love-yu/p/11013203.html