在
.gitconfig 文件中加入:
[credential] helper = store
.git-credentials
close address
gitlab永久设置密码
原文:http://www.cnblogs.com/rhxuza1993/p/7355952.html