在你的用户目录下新建一个文本文件.git-credentials
echo 'https://henry:123456@ggithub.com' > /root/.git-credentials git config --global credential.helper store
之后再提交就不需要用户和密码了
在你的用户目录下新建一个文本文件.git-credentials
echo 'https://henry:123456@ggithub.com' > /root/.git-credentials git config --global credential.helper store
之后再提交就不需要用户和密码了
转载于:https://www.cnblogs.com/cptao/p/10913477.html