美文网首页
解决git重复输入账号密码操作

解决git重复输入账号密码操作

作者: Pino | 来源:发表于2019-08-17 08:45 被阅读0次
    直接在git bash 中执行命令:git config --global credential.helper store
    在输入一次账号密码就可以保存了
    第二种办法
    安装好git之后一般会在C盘的C:\Users\Administator目录下生成 .gitconfig配置文件。用文档编辑工具打开该文件
    [user]
        name = wb-ly409739  //你的用户名
    
        email = wb-ly409739@alibaba-inc.com  //你的git邮箱账号
    
    [credential]
        helper = store
    
    image.png

    相关文章

      网友评论

          本文标题:解决git重复输入账号密码操作

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