在C:Users计算机名 下面找到.gitconfig文件(如果没有请新建)
内容为:
[user] name = git用户名[user] email = 邮箱 [credential] helper = store
配置完之后保存,当你再次输入账号密码之后,就会自动保存,以后就可以不用输入了