VS Code中配置git

1.如下图,在VS Code左下角找到Settings。
VS Code中配置git
2.打开Settings,在Settings中搜索git.path,选择Edit in settings.json。
VS Code中配置git
3.右边编辑区添加git.path内容为git的安装目录中cmd文件夹下git.exe的路径。
VS Code中配置git
4.在vs中每次更新代码都会要输入账号密码,方便起见,可以配置一下让git记住密码账号(在此之前先提交一次,输入用户名和密码)。

git config --global credential.helper store

VS Code中配置git

相关文章:

  • 2021-04-19
  • 2021-10-22
  • 2021-04-03
  • 2021-05-26
  • 2021-07-04
  • 2021-12-19
  • 2022-02-02
猜你喜欢
  • 2021-08-21
  • 2021-10-17
  • 2022-12-23
  • 2021-04-04
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
相关资源
相似解决方案