fatal: No HEAD commit to compare with (yet)

Posted by Kukoda János on Stack Overflow See other posts from Stack Overflow or by Kukoda János
Published on 2010-03-26T14:28:04Z Indexed on 2010/03/26 14:33 UTC
Read the original article Hit count: 469

Filed under:

I am newbie with git. It tried this tutorial, but after the command, i get this error:

[root@WL-0022150E7BD4 alma]$ git diff --cached
fatal: No HEAD commit to compare with (yet)

I created two file in the current directory. I dont undersitand, it is the first step in the tutorial.

© Stack Overflow or respective owner

Related posts about git