给文件夹设置用户名和邮箱(自行替换)
git config user.email "xxxxxxx@xx.xxx"
git config user.name "xxxxx"
git config --global credential.helper store
如果希望只针对当前项目设置
git config credential.helper store
git config user.email "xxxxxxx@xx.xxx"
git config user.name "xxxxx"
git config --global credential.helper store
git config credential.helper store