K
K
Konstantin2012-08-04 20:51:44
git
Konstantin, 2012-08-04 20:51:44

Git :fatal.Bad default revision 'HEAD'. What to do?

Hello!
Installed Red Hat 6.2. Decided to install git from source. Everything went fine.
Added a project. but git logfatal.Bad default revision 'HEAD' fails when used.
How to deal with it?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
edelweard, 2012-08-04
@Simplevolk

So do you have at least one commit in the repository? Such an error may appear in this case.

S
Sergey, 2012-08-04
@Ualde

git-reflog --all should help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question