echo "http://用户名:密码@github地址" > ~/.git-credentials     #注意:如果你的密码中有@需用P%40表示
git config --global credential.helper store
cat ~/.gitconfig

在这里插入图片描述
配置完成

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐