git config --global (--replace-all) user.name "你的用户名" git config --global (--replace-all) user.email "你的邮箱" 清除缓存(.gitconfig) git config --local --unset credential.helper git config --global --unset credential.helper git config --system --unset credential.helper git config --global credential.helper store