git pull 免密

linux下

在~/下, touch创建文件 .git-credentials, 用vim编辑此文件,输入内容格式:

touch .git-credentials

vim .git-credentials

https://{username}:{password}@github.com

 

2. 在终端下执行  git config --global credential.helper store

 

posted @ 2018-05-04 13:19  换行程序员  阅读(1082)  评论(0编辑  收藏  举报