设置姓名和邮箱:
git config --global user.name 你的姓名
git config --global user.email 你的邮箱
例如我的:
git config --global user.name yang_zhang
git config --global user.email yang_zhang@×××.com
清除姓名和邮箱:
git config --unset --global user.name
git config --unset --global user.emailcie
git config --global user.name 你的姓名
git config --global user.email 你的邮箱
例如我的:
git config --global user.name yang_zhang
git config --global user.email yang_zhang@×××.com
清除姓名和邮箱:
git config --unset --global user.name
git config --unset --global user.emailcie