简体   繁体   中英

How to check post buffer size before clone git repository?

When I try to take a clone of the git repository, I get error message

The remote end hung up unexpectedly while git cloning

I search a bit over it and found solution over here but I would like know what is the current allocation. So how do I check that?

Run this command in root folder of git repository ( by doing so you will search in ~/.gitconfig and .git/config files ):

git config --get http.postBuffer

If it shows nothing, then used default value ( 1 MiB from git config documentation ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM