Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,057
Community Members
 
Community Events
165
Community Groups

How do I fix 'http.postbuffer': out of range issue for SourceTree 3.4.2 on Windows?

Edited

I tried to fetch from my repo and I got this error. 

    $ git fetch
    fatal: bad numeric config value '9999999999' for 'http.postbuffer': out of range

I tried using this command to set postbuffer to something reasonable.

    $ git config --global http.postBuffer 1048576000

I did this to see if it worked.

    $ git config --get http.postBuffer
    1048576000

I also checked the global setting and saw this.

    $ git config --global --get http.postBuffer
    1048576000

I even looked at my c:\users\[account name]\.gitconfig file to check the value and saw this.

    [http]
    postBuffer = 1048576000

Then I tried fetching again and saw this.

    $ git fetch
    fatal: bad numeric config value '9999999999' for 'http.postbuffer': out of range

I also tried removing the http.postbuffer setting from c:\users\[account name]\.gitconfig. Then, I queried the value from the command line again. The value was still 1048576000. Then, I tried doing a fetch again. I got the same error and it reported that the value was still 9999999999. So, the .gitconfig file says the value is 0, the command line says that it is  1048576000 and the error message says that it is 9999999999!

Can someone tell me how to figure out where Git/SourceTree is looking for this setting and how I can fix this? 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,838 views 127 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you