https://git.wiki.kernel.org/index.php/GitFaq#How_to_fix_a_broken_repository.3F may also be useful.
Aaron Meurer On Sat, Jul 14, 2012 at 10:35 PM, Aaron Meurer <[email protected]> wrote: > Restore from backup, if you have one. > > Otherwise, you'll have to figure out what part of the .git directory > got messed up. > > If you can't figure it out, and you've pushed everything to GitHub, > you can get a fresh start from there. > > Aaron Meurer > > On Sat, Jul 14, 2012 at 10:13 PM, smichr <[email protected]> wrote: >> During a rebase, the computer just shut down (like the battery failed even >> though there was about 50% power left). Now after restarting I cd to sympy >> and cannot do anything. I get this message whenever I issue any git command: >> >> chriss@CHRIS-LT ~/sympy ((...)|REBASE) >> $ git log >> fatal: Not a git repository (or any of the parent directories): .git >> >> chriss@CHRIS-LT ~/sympy ((...)|REBASE) >> >> Any ideas of how to remedy this? (The first page of google suggestions for >> my search have not been fruitful.) >> >> /c >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/sympy/-/AO5pjMv34CsJ. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/sympy?hl=en. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
