Hi I just made a new git local repository in my local machine.
Jon-linux ∴ mkdir git_test
Jon-linux ∴ cd git_test
Jon-linux ∴ git init
Initialized empty Git repository in /home/jonghyeon/git_test/.git/
fatal: bad revision 'HEAD'
I want to remove that fatal message, so I googled it and I found some, however, it doesn't work for me.
Can anybody help me?
I want to remove that fatal message,
Simply add some files (git add .
) and git commit -m "my first commit"
The error message (probably triggered by your zsh prompt) will go away.