GCC 14.2源码构建实战:适配国产系统与C++23编译链
2026/10/12 8:45:01
执行git commit命令时报错:
作者身份未知 *** 请告诉我您是谁。 运行 git config --global user.email "you@example.com" git config --global user.name "Your Name" 来设置您账号的缺省身份标识。 如果仅在本仓库设置身份标识,则省略 --global 参数。 致命错误:无法自动探测邮件地址(得到 'root@localhost.(none)')解决方法:按照提示执行:
git config --global user.email "you@example.com" git config --global user.name "Your Name"之后重新git commit正常了: