git 每次pull都需要输入用户和密码

作者: shaneZhang 分类: 互联网技术 发布时间: 2015-11-02 21:45
cd ~
vim .git-credentials
https://{username}:{password}@code.5288z.com
git config --global credential.helper store

执行完后
/home/chinaestone/.gitconfig 会新增一项
helper = store
这是再执行git push/pull的时候就不会在要求你输入密码了

本页面支持繁体中文友好显示:git 每次pull都需要输入用户和密码

如果觉得我的文章对您有用,请随意打赏。如果有其他问题请联系博主QQ(909491009)或者下方留言!

发表回复