0x00 解决方案
Ubuntu 14.04 在运行git init后,编译文件显示fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.错误。
解决方案 输入命令
git commit --allow-empty -n -m "Initial commit"
提示需要身份验证,输入身份验证:
git config --global user.email "aaaa@aaa.com"
git config --global user.name "aaaa"
再次git commit --allow-empty -n -m "Initial commit", 然后make成功。