Git 基本配置

Git 本機基本配置

git 本機識別資料

因為git 會認機器,所以需要設定識別資料

查詢識別資料

git config --list

設定識別資料

git config --global user.name "xxx"
git config --global user.email "abc@gmail.com"

每個專案可以設定不同的作者

git config --local user.name "xxx"
git config --local user.email "abc@gmail.com"

Last updated

Was this helpful?