A Jerk in git

I’m new to Git and I’m having fun using it. Recently I encountered a git push out of memory problem and I’m pretty pissed off because I don’t know what to do. I tried pushing and pushing it again, but no can do. I also tried to create a new repo and then copied all my files to the folder, then tried to push the repo again to my Bitbucket account, but still, it’s out of memory.

Good thing I found that post that I linked above and it solved my problem. There was just one zipped file that has a 2GB size. I just removed it and I can now push my changes without any problems.

You can actually use this tip to check for file sizes of folders and files inside a specific folder. If it’s too big, then it’s not for Git. Always remember to commit small files because it’s just a file repo, not a storage for your media goodies.

PS: The image above is just a picture of git in action from tech.tulentsev.com, not really related to this post.

Leave a Reply

Your email address will not be published. Required fields are marked *