在 .gitconfig 文件中加入: [credential] helper = store .git-credentials close address 转载于:https://www.cnblogs.com/rhxuza1993/p/7355952.html