Git - Broken Links, Missing & Dangling Trees

前端 未结 2 1174
情书的邮戳
情书的邮戳 2021-02-08 04:30

I was happily using Git - made some commits a couple of nights ago, which are reflected in the remote repo. Last night I opened up Smartgit Hg and it tells me there are missing

2条回答
  •  广开言路
    2021-02-08 05:17

    For me, a simple git gc did the job... This gave me a couple of rm: cannot unlink ... Permission denied messages. But in the end, it seemed to have worked for my case.

    But probably depends on how exactly the repo is corrupted.

提交回复
热议问题