在提交项目代码或者拉取代码的时候,如果每次git都要输入用户名密码;
解决方法: 在 VSCode 的终端输入 git config --global credential.helper store 命令
在弹框中输入账号和密码,此时输入一次,以后再git push /pull 的时候就不用在输账号和密码了。
解决 VSCode 每次 git pull/push 时都需要输入账号和密码的问题
最新推荐文章于 2024-07-02 16:43:57 发布
在提交项目代码或者拉取代码的时候,如果每次git都要输入用户名密码;
解决方法: 在 VSCode 的终端输入 git config --global credential.helper store 命令
在弹框中输入账号和密码,此时输入一次,以后再git push /pull 的时候就不用在输账号和密码了。