用戶名和郵箱地址是本地git客戶端的一個變量,不隨git庫而改變。
每次commit都會用用戶名和郵箱紀錄。
1、查看用戶名和地址
git config user.name git config user.email
2、修改用戶名和地址
git config --global user.name "your name" git config --global user.email "your email"
用戶名和郵箱地址是本地git客戶端的一個變量,不隨git庫而改變。
每次commit都會用用戶名和郵箱紀錄。
git config user.name git config user.email
git config --global user.name "your name" git config --global user.email "your email"
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。