解决 git extensions 每次提交需要输入用户名和密码

在当前源代码目录,鼠标右击,选择git bash 

 

 打开git bash

 

输入用户名和密码

git config --global user.name "username"

git config --global user.email "email.@xx.com"

git config --global user.password "password"

git config --global credential.helper store

这样就不用每次输入用户名和密码了,全局配置了相同的账户和密码

posted @ 2017-01-11 15:54  OFreedom  阅读(880)  评论(0编辑  收藏  举报