Linux中如何记住git密码
时间:2020-12-04 10:57:17
收藏:0
阅读:10
目的:为了方便服务器上每次git拉去都需要填写密码,而又不想用ssh密钥的
1、在终端下执行
git config --global credential.helper store
2、查看 ~/.gitconfig文件,会多了一项:
[credential]
helper = store
评论(0)