Git 有時 push 太久一直無法結束,可以參考以下原因:
- Git Server 限制,不同 git 供應商會有不同限制,建議參考看看有沒有限制檔案大小、數量等。
- buffer 問題,參考以下配置指令:
git config –global http.postBuffer 524288000
以下是 Bitbucket 的限制與解決方法,請參考。
Reduce repository size | Bitbucket Cloud | Atlassian Support
support.atlassian.comBitbucket Cloud repositories have a 4.0 GB limit. When that limit is reached, you will only be able to push changes that undo the latest commits.