vs code中配置git(source control工具)及git提交代码

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

猜你喜欢

转载自blog.csdn.net/qq_15769147/article/details/88559858
今日推荐