16

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?

Community
  • 1
  • 1
Virat Gaywala - CSM
  • 657
  • 1
  • 8
  • 11

1 Answers1

25

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 ).

marsheth
  • 822
  • 6
  • 9
Roman Zaitsev
  • 1,328
  • 5
  • 20
  • 28