gitでリモートからfetch等失敗する場合

git fetchで、

remote: Counting objects: 3104, done.
remote: Compressing objects: 100% (2558/2558), done.
packet_write_wait: Connection to 54.248.105.89: Broken pipe/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

のようなエラーになった場合の対処


git config --add core.compression 0


git fetch --depth 1

~/.gitconfig

[core]
excludesfile = /Users/XXXXX/.gitignore_global
compression = 0
[difftool “sourcetree”]
cmd = opendiff \”$LOCAL\” \”$REMOTE\”
path =
[mergetool “sourcetree”]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \”$LOCAL\” \”$REMOTE\” -ancestor \”$BASE\” -merge \”$MERGED\”
trustExitCode = true
[user]
name = XXXXXXXXXXX
email =
[http]
postBuffer = 4096000000

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です