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

直接在git bash 中执行命令:git config --global credential.helper store
在输入一次账号密码就可以保存了
第二种办法
安装好git之后一般会在C盘的C:\Users\Administator目录下生成 .gitconfig配置文件。用文档编辑工具打开该文件
[user]
    name = wb-ly409739  //你的用户名

    email = [email protected]  //你的git邮箱账号

[credential]
    helper = store
解决git重复输入账号密码操作_第1张图片
image.png

你可能感兴趣的:(解决git重复输入账号密码操作)