简体   繁体   中英

Can't commit Unity project to private Git without fatal error

I've been trying to commit my Unity game project to a private repository on Github with my Mac for a while, however it doesn't seem like that's possible as every time I've tried, it fails mid way through when I try to push. I'm an artist and have had trouble with git in the past, so I had my programmer friend look it over and attempt to do it via terminal yesterday. All was going well and it actually finished to 100%, but then this happened.

在此处输入图片说明

We're not sure what exactly the problem is. We do highly suspect that the project's size is a factor. My project is currently around 4 - 5GB in total, however I had this problem still back when it was less than that. He recommended I ask Stack Overflow, so here I am. Anyone have a clue what's going on?

当您推送大量数据(最初推送大型存储库,使用非常大的文件进行更改)时,可能需要在git客户端(而非服务器)上使用更高的http.postBuffer设置。例如:

git config --global http.postBuffer 157286400

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM