一、选中文件-->首选项-->设置,搜索git,在setting.json中添加"git.path":"D:/soft/git/Git/bin/git.exe"
二、git bush中设置Git 全局设置:
git config --global user.name "用户名"
git config --global user.email "用户邮箱"
三、设置让VSCode记住git账号和密码:git config --global credential.helper store
本文介绍如何在VSCode中配置Git路径,设置Git全局用户名和邮箱,并让VSCode记住Git账号和密码的方法。
一、选中文件-->首选项-->设置,搜索git,在setting.json中添加"git.path":"D:/soft/git/Git/bin/git.exe"
二、git bush中设置Git 全局设置:
git config --global user.name "用户名"
git config --global user.email "用户邮箱"
三、设置让VSCode记住git账号和密码:git config --global credential.helper store
3105
2万+
5244
1万+

被折叠的 条评论
为什么被折叠?
