Is there a way to blow away a corrupted .git repository, create a new one and add back in to the new one a branch from the corrupted repository?
On Sunday, March 24, 2013 8:14:36 PM UTC-4, Tom Avey wrote: > > I'm not sure what I did not my git prompt now says ((...)) instead of > master. > > It's been working great for a couple of months (I'm still pretty new to > git) > > git status and branch and add yields "fatal: Not a git repository (or any > of the parent directories): .git." > > git init says it is reinitializing existing Git repository but it doesn't > appear to be fixed. > > My repository is only local as I program alone. > > .git folder still exists. > > Can anyone help? There's at least one branch I would like to recover. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
