我正在尝试从Debian(实际上是在Mac OS X上安装和运行的VirtualBox中的虚拟机)初始化一个新的Git存储库:
cd ~
mkdir test
cd test
git init
Initialized empty Git repository in /home/david/test/.git/
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
[david@server-VM-001:test (master #) $]
什么问题?