windows - Fatal: not a git repository - after BSoD -
i committing , windows ( .. :( ) machine crashed , presented me lovely , infamous blue screen of death. rebooted , went right work, discover something's wrong local git repo.
"fatal: not git repository"
... well, escalated quickly.
i've been reading on issue (also here on stackoverflow), haven't found solution yet. things did include:
- git init (says within 0.1s: reinitialized existing git repository)
- git status (gives same fatal error)
- git push origin develop (same fatal error)
the .git folder still there , looks normal (although wouldn't directly spot anomalies).
it looks there's nothing can on command line revive repository.
i have found this reference, have no idea how "change head valid ref/hash".
is there knows go here?
(i know questions shows multiple times on so, none of problems have same origin , solutions don't work. please sure question duplicate if mark such.)
(i'm asker.)
unfortunately didn't have time solve problem in time. pressure in project on , needed continue. decided complete new checkout. works fine again.
lesson learned: never bsod while committing.
Comments
Post a Comment