Linux下记住git密码

创建git-credentials

vim .git-credentials
https://{username}:{password}@github.com #gitlab或github地址

执行git命令

git config --global credential.helper store
cat ~/.gitconfig
[credential]
helper = store

更多精彩

免费共享资源
http://www.ltchao.top

猜你喜欢

转载自blog.csdn.net/abc8125/article/details/105265552