git中credential缓存他人用户名怎么办?

139 阅读1分钟

查看现在的用户名

git config --global credential.username

设置自己的用户名

git config --global credential.username  xxx