vscode:解决操作git总让输入用户名及密码问题

版权声明:feixie https://blog.csdn.net/qq_36850813/article/details/89469335

只要是使用git操作,不管是同步,拉去,克隆,vscode总让我们输入用户名及密码,是一件很繁琐的事情

我们打开终端,会看到cmd定位在我们仓库位置,我们只要添加:git config --global credential.helper store

再退出vscode并重启,进行git操作,就发现,vscode不再让我们每次都输入用户名和密码啦!

猜你喜欢

转载自blog.csdn.net/qq_36850813/article/details/89469335