vscode中使用git命令行 打开vscode中的设置 选择在settings.json中编辑,配置git的bash.exe的路径 git命令行切换回默认的 \cmd默认切换为git命令行 bash完成