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

前端 未结 8 665
情歌与酒
情歌与酒 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
    闹比i (楼主)
    2021-02-04 23:59

    From my experience, there is now (2019) some rate limit on GitHub that causes this problem for me when mass-pushing tens of huge repositories. It can also cause "cannot read" problem in random cases.

    When I delay for 30 seconds before each push, both problems go away and I can continue with hundreds of repos without a glitch (sigh, don't even ask).

提交回复
热议问题