file->preferences->settings
增加如下git.path的配置,如下:
{
“editor.fontSize”: 16,
“files.autoSave”: “off”,
“editor.wordWrap”: “on”,
“git.ignoreMissingGitWarning”: true,
“git.path”: “D:/git/Git/bin/git.exe”
}
git提交代码:
git status
git add .
git commit -m “first day”
git push