I'm trying to fix a problem with git
.
When I enter git show HEAD
, I got the error fatal : ambiguous 'HEAD': unknown revision or path not in the working tree
.
What could I do to fix this problem?
The display of git status
is :
git status
On branch master
Initial commit
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: script.txt
Untracked files:
(use "git add <file>..." to include in what will be committed)
script.txt~