linux git pull 免密操作
2019-08-21 本文已影响0人
jiayifang1
1、创建文件
在~/下, touch创建文件 .git-credentials,
touch .git-credentials
2、用vim编辑此文件
vim .git-credentials
3、编辑文件内容
https://{username}:{password}@{git链接地址}
例如:http://zhangheng:style123@gitee.com
4、在终端下执行命令
git config --global credential.helper store