清除所有用戶名及密碼:
git config --system --unset credential.helper
或
清除緩存用戶名及密碼:
git credential-manager uninstall
或到
Windows管理憑據 進行刪除
修改全局用戶名:
git config --global user.name "userName"
修改改全局郵箱:
git config --global user.email "xxxxx@xxx.com"
查看config配置:
git config --list
查看git用戶名:
git config user.name