How can I recover my Git repository for a “missing tree” error?

前端 未结 14 2252
孤独总比滥情好
孤独总比滥情好 2020-12-08 02:23

We are using Gerrit for our Git repository. On a project that has been active for several months, we are suddenly unable to push any changes. When we execute git pus

14条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-08 03:23

    Use git push --no-thin instead of git push.

    From Git docs:

    A thin transfer significantly reduces the amount of sent data when the sender and receiver share many of the same objects in common. The default is --thin.

提交回复
热议问题