• Skip to primary navigation
  • Skip to main content
Logos Creative

Logos Creative

Products Made for People, Built in Atlanta

  • Content Library
  • About
  • Contact

Making Room for Your Git Push

Here’s a quick Git tip I stumbled across that helped me this morning.

While making an initial commit for a repository containing several MP3 files, I got:

fatal: The remote end hung up unexpectedly

Sometimes this is caused by an authentication error, but I was sure everything was correct. Instead, I considered it might be the size of the repo I was pushing (164.07 MiB). All I needed was to make a quick change to the configuration by running:

git config http.postBuffer 524288000

Note that 524288000 is just 500MB written in bytes. I shouldn’t need that much space in a push, but it’s an easier number to remember.

September 7, 2012 By Cliff Seal Filed Under: Git, Tutorial

Content Library

Readings on a wide range of topics for small businesses and nonprofits.

 

See Articles

Copyright © 2020 Logos Creative