Git hangs while writing objects

后端 未结 9 2002
执念已碎
执念已碎 2020-12-12 13:21

I\'m trying to git push -u origin master And it just hangs at

Writing objects:  99% (219/220), 12.65 MiB | 97 KiB/s

The

9条回答
  •  情歌与酒
    2020-12-12 13:45

    This was happening because of huge, unignored file in the repo directory. Whoops.

    EDIT

    The hang was because the file was taking a long time to upload. The file wasn't supposed to have been included in the push.

    EDIT

    While it's true that a huge file could be the reason behind this issue, if you can't ignore the file in question or just have to push it then follow this answer.

提交回复
热议问题