创建git-credentials
cd ~
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
cd ~
vim .git-credentials
https://{username}:{password}@github.com #gitlab或github地址
git config --global credential.helper store
cat ~/.gitconfig
[credential]
helper = store
免费共享资源
http://www.ltchao.top