Reputation: 571
While trying to trouble shoot another problem, I entered this line of code: git config --global http.postBuffer 157286400
. Now when I push git will compress objects, write objects, display the total, then pause for 30 seconds or more. I was hoping to reset the http.postBuffer but wasn't sure how.
Upvotes: 10
Views: 20869
Reputation: 391276
To unset a global configuration setting in git you would run the following kind of command:
git config --global --unset X
where X
is the name of the setting, so in your case you should be able to remove the setting by doing this:
git config --global --unset http.postBuffer
Also be aware that the global git settings are stored in a .gitconfig
file in your "HOME" directory. This would similar to C:\Users\<username>
on Windows and ~/
on *nix operating systems. This is just a normal text file so you could also find the offending setting in there and just edit it out.
Upvotes: 20