git config http.postBuffer 524288000
这里命令设置了通信缓存大小,之前发生错误是同步数据过大导致。
这里config的参数可以在文件目录中的config文件中看到
-
[core]
-
repositoryformatversion = 0
-
filemode = false
-
bare = false
-
logallrefupdates = true
-
symlinks = false
-
ignorecase = true
-
[remote "origin"]
-
url = https://github.com/.......
-
fetch = +refs/heads/*:refs/remotes/origin/*
-
[branch "master"]
-
remote = origin
-
merge = refs/heads/master
-
[gui]
-
wmstate = normal
-
geometry = 841x483+111+65 321 218
-
[http]
- postBuffer = 524288000