Computer Science/๊ธฐํƒ€

[git] fatal: the remote end hung up unexpectedly ์˜ค๋ฅ˜ (ํ•ด๊ฒฐ๋ฐฉ๋ฒ• ํฌํ•จโ—โ—)

_cactus 2022. 5. 19. 09:58
๋ฐ˜์‘ํ˜•

git push๋ฅผ ํ•˜๋Š”๋ฐ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜ ๋ฉ”์„ธ์ง€๋ฅผ ๋งž์ดํ–ˆ๋‹ค

 

fatal: the remote end hung hup unexpectedly

send-pack: unexpected disconnect while reading sideband packet

 

(์ฐธ๊ณ ๋กœ ๋‚˜๋Š” Window ์œˆ๋„์šฐํ™˜๊ฒฝ์—, Git Bash๋ฅผ ์ด์šฉํ•˜๊ณ  ์žˆ๋‹ค.)

 

ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค

 

git config --local http.postBuffer 1024M
git config --local http.maxRequestBuffer 1024M
git config --local pack.deltaCacheSize 1024M
git config --local pack.packSizeLimit 1024M
git config --local pack.windowMemory 1024M

git config --local core.packedGitLimit 1024m
git config --local core.packedGitWindowSize 1024m
git config --local core.compression 9

 

 

์ด๊ฒƒ๋„ ์•ˆ๋œ๋‹ค๋ฉด ๋‹ค์Œ๋„ ํ•ด๋ณด์ž

git config --local ssh.postBuffer 2048M
git config --local ssh.maxRequestBuffer 2048M

 

 

๋“œ๋””์–ด git push๊ฐ€ ๊ฐ€๋Šฅํ•ด์กŒ๋‹ค..!!! ใ… ใ… ใ… 

์ด ์—๋Ÿฌ๋ฅผ ๋งž๋‹ฅ๋œจ๋ฆฐ ๋‹ค๋ฅธ ๋ถ„๋“ค๋„ ํ•ด๊ฒฐ๋˜์…จ๊ธธ ๋ฐ”๋ผ๋ฉฐ....

 

728x90
๋ฐ˜์‘ํ˜•