# Github推送教學 ###### tags: `github` ## 可能遇到問題解決方法 - Problem1): ```fatal: The remote end hung up unexpectedly``` ```Counting objects: 2649, done. Delta compression using up to 2 threads. Compressing objects: 100% (1280/1280), done. error: RPC failed; result=22, HTTP code = 413 | 116 KiB/s fatal: The remote end hung up unexpectedly Writing objects: 100% (2504/2504), 449.61 MiB | 4.19 MiB/s, done. Total 2504 (delta 1309), reused 2242 (delta 1216) fatal: The remote end hung up unexpectedly Everything up-to-date ``` solve: 主要發生原因為上傳github時,會有一個暫存空間限制不超過100MB,而每個上傳的單一文件必須小於 2 GB,因此可以嘗試使用下列語法將暫存空間開放到2 GB的大小,就能解決無法推送的問題。 ``` git config http.postBuffer 2147483648 ``` ---
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up