解决git clone要输入用户名和密码的问题
echo "http://用户名:密码@github地址" > ~/.git-credentials#注意:密码中的@号用P%40表示git config --global credential.helper storecat ~/.gitconfig配置完成
·
echo "http://用户名:密码@github地址" > ~/.git-credentials #注意:如果你的密码中有@需用P%40表示
git config --global credential.helper store
cat ~/.gitconfig

配置完成
更多推荐
所有评论(0)