設(shè)置全局的用戶名和郵箱
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
設(shè)置當前項目的用戶名和郵箱
git config user.name "Your Name"
git config user.email "your.email@example.com"
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
git config user.name "Your Name"
git config user.email "your.email@example.com"