Share pre-initialized GIT repository

Posted by Theo.T on Stack Overflow See other posts from Stack Overflow or by Theo.T
Published on 2010-03-15T11:39:03Z Indexed on 2010/03/15 11:49 UTC
Read the original article Hit count: 358

Filed under:

We were sharing a GIT repository via file-sharing system (smb://) and got it badly corrupted (a power cut meanwhile the post-send :P). Being new to GIT, trying to fix it I made it even worse and I lost all the refs (left with the object folder).

Since the incident I haven't had the time to look at the problem and have just been keeping committing to my local clone.

So my question is : Is there a way to copy the local repository back to the location of the old repository and make it a shared repository in order to keep some track of previous the history ? That's all I could figure out (I'm still a git-noob), any other solutions are more than welcome !

Thanks in advance !

© Stack Overflow or respective owner

Related posts about git