免密登录进行git pull:
SourceByrd's Weblog-https://note.t4x.org/basic/git-no-password-login/SourceByrd's Weblog-https://note.t4x.org/basic/git-no-password-login/step1:
0 $ git config --global credential.helper store
step2:[默认将在家目录的.gitconfig生成配置文件]
SourceByrd's Weblog-https://note.t4x.org/basic/git-no-password-login/
01234567891011 $ cat /root/.gitconfig[safe]directory = /var/www/html[user]name = Byrdemail = xxx#t4x.org[color]ui = true[credential]helper = store[init]defaultBranch = main
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!