Git - Broken Links, Missing & Dangling Trees

前端 未结 2 1510
轮回少年
轮回少年 2021-02-08 04:40

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:12

    Try cloning the remote repository into a new folder.
    Does it also have these errors? If not, simply use this clone and delete the corrupted one.

    Any modified files that have not yet been committed can simple be copied to the new folder. Important: Don't copy the .git folder.

提交回复
热议问题