vscode failed to excute git

将代码提交到github时 提示 “failed to excute git”

解决:配置git

git config --global user.email "youremailid@example.com"

然后保存

提交

然后会让输入github的帐号 和密码

原文地址:https://www.cnblogs.com/ryans/p/8506951.html