码迷,mamicode.com
首页 > 其他好文 > 详细

Git 保存登录凭证

时间:2020-05-28 16:24:40      阅读:308      评论:0      收藏:0      [点我收藏+]

标签:十分   增加   通信   命令   ash   tor   解决   仓库   https   

如果使用 https 和远程仓库通信,Git 默认每次操作都需要输入用户名和密码,十分麻烦。

解决方法:

1、Git Bash t输入命令:

git config --global credential.helper store

2、修改 .git 目录下的 config 文件,增加如下设置:

[credential]
    helper = store

 

Enjoy it !

Git 保存登录凭证

标签:十分   增加   通信   命令   ash   tor   解决   仓库   https   

原文地址:https://www.cnblogs.com/daizhongxing/p/12981303.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!