TortoiseGit保存密碼

TortoiseGit保存密碼

方法一:使用Bash命令

1.設置name和email
git config --global user.name "yilei"
git config --global user.email 87119538@qq.com
2.保存密碼
git config --global credential.helper storegit

 

方法二:使用 TortoiseGit 工具設置

1.設置name和email工具

 

2.保存密碼blog

點擊編輯全局.git/config 彈出文本編器,在後面加入it

[credential]
helper = storeemail

相關文章
相關標籤/搜索