1.在包含有.git的目录中,右键,git bash hear 2.git config --global user.name ‘你的名字’ 3.git config --global user.email ‘你的邮箱地址’