解决步骤如下
- 执行命令前先执行下面命令
git config --global credential.helper store
- 然后进行正常的推拉操作
git pull
- 提示输入用户名
- 提示输入密码
- 执行完成后下次再执行操作的时候就不用再输入用户名密码了,就此完美解决
下面全局设置命令备查(deepin 不生效)
不知道什么原因,下面的这种全局配置命令毛用都没有
git config --global user.name "username"
git config --global user.email "username@mail.com"
网友评论