git 免账号密码登陆

xiaoxiao2021-02-28  30

git 免账号密码登陆

Linux或者Mac下方法:

创建文件,粘贴内容:

# vi ~/.git-credentials 复制粘贴花括号{}不可少 https://{登陆用户名}:{你的密码}@github.com

终端命令:

# git config --global credential.helper store # tail -n 20  ~/.gitconfig

查看是否生效:

[credential] helper = store
转载请注明原文地址: https://www.6miu.com/read-2624132.html

最新回复(0)