Monday, 15 March 2010

git - bad default revision HEAD -



git - bad default revision HEAD -

this question has reply here:

git tracking entire home directory. error - fatal: bad default revision 'head' 2 answers

when do: git log , message:

fatal: bad default revision 'head'

, if git fsck, get:

notice: head points unborn branch (master) checking object directories: 100% (256/256), done. notice: no default references dangling blob 965fb7997c335172263ad1e220959ae2c733ed19

and git branch gives me empty output.

what wrong repo, , how prepare it?

i tried git symbolic-ref head refs/heads/master, didn't help either.

ok, found out problem, never did first commit. ;)

forgot repo, because made changes there long time ago.

git logging branch

No comments:

Post a Comment