git提交代码时会报
User name and email must be set befor commit Do you want to set these now
是因为安装后没有配置用户名和邮箱,右键打开git bash,如下配置即可:
git config --global user.emial your@domain.comgit config --global user.name yourname
配置完后,可以使用 git config --list命令检查配置信息
转载请注明原文地址: https://ju.6miu.com/read-36039.html