方法: git config
三个级别:system、global、local ,级别递减,底层配置会覆盖顶层配置。
查看system:
git config --system --list
查看global:
git config --global --list
查看local:
git config --local --list
怎么配置?
例:
git config --global user.name "xxx"
git config --global user.email "xxx"