如果不知道現在本地Git用的帳號是什麼,你可以輸入
git config user.name
查看用戶名
git config user.email
查看用戶郵箱
修改用戶名和郵箱的命令
git config --global user.name "Your_username"
git config --global user.email "Your_email"
如果不知道現在本地Git用的帳號是什麼,你可以輸入
git config user.name
查看用戶名
git config user.email
查看用戶郵箱
修改用戶名和郵箱的命令
git config --global user.name "Your_username"
git config --global user.email "Your_email"