1、需要安装Git,下载地址:https://git-scm.com/download.git 2、配置环境变量:将git下的cmd添加到环境变量path中 3、重启vs code 转载于:https://www.cnblogs.com/shurua/p/7592300.html