美文网首页
免登录 git pull

免登录 git pull

作者: 恒忏 | 来源:发表于2017-12-28 11:20 被阅读0次

    在~/下, touch创建文件 .git-credentials, 用vim编辑此文件,输入内容格式:

    cd ~
    touch .git-credentials
    vim .git-credentials
    ### append new line:
    ### https://{username}:{password}@github.com
    git config --global credential.helper store
    cat ~/.gitconfig
    ### shud show:
    ###  [credential]
    ###    helper = store
    

    相关文章

      网友评论

          本文标题:免登录 git pull

          本文链接:https://www.haomeiwen.com/subject/acvmgxtx.html