Debianから新しいGITリポジトリを作成しようとしています(実際にはVirtualBox上のVM、Mac OS X上にインストールされ、実行中):GIT fatal:あいまいな引数 'HEAD':作業ツリーにないリビジョンまたはパス
[[email protected]:~ $] mkdir test
[[email protected]:~ $] cd test
[[email protected]: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
[[email protected]:test (master #) $]
どうしたのですか?
これは起こらないはずです... gitのバージョンは何ですか?それはどのようにインストールされましたか? – CharlesB
Gitはapt-getでインストールされ、バージョンは1.7.2.5です。 – David
シェルプロンプトでいくつかのgitコマンドを使っているかのように見えます。エラーメッセージがそこから来ていると思います。 – ebneter