我想保存我的git密码以避免每次输入。
我在Windows 10上使用git bash。
每次我执行remote操作时,git都要求输入密码。
(是git bash的原因吗?)
我尝试过:
git config --global credential.helper 'cache --timeout 28800'
并且:
git config --global credential.helper store
并且:
git config --global credential.helper wincred
我在git bash和cmd中都尝试过,因此我猜测问题不是由git bash引起的。
origin matt@foo.bar:/home/matt/baz.git (fetch)
- mtysonssh matt@foo.bar
进行验证——将会无需密码登录。 - phd