切換Git客戶端連接工具的登錄賬號,需要到控制面板那修改
重新編輯,輸入新的用戶名和密碼就可以了
客戶端可能需要重啓下,我自己試的時候,重啓才生效。
還要設置下郵箱和用戶名
git config --global user.name "username"
git config --global user.email "email"
查看當前用戶和郵箱
git config user.name
git config user.email
切換Git客戶端連接工具的登錄賬號,需要到控制面板那修改
重新編輯,輸入新的用戶名和密碼就可以了
客戶端可能需要重啓下,我自己試的時候,重啓才生效。
還要設置下郵箱和用戶名
git config --global user.name "username"
git config --global user.email "email"
查看當前用戶和郵箱
git config user.name
git config user.email