How do I fix “remote: fatal error in commit_refs” errors trying to push with Git?

前端 未结 8 670
情歌与酒
情歌与酒 2021-02-04 23:34

When I try to push to master I get:

remote: fatal error in commit_refs

How can I solve this?

8条回答
  •  梦毁少年i
    2021-02-05 00:07

    This fixed it for me:

    git gc
    

    That will start a garbage collection that resolved my error.

提交回复
热议问题