按照官方教程尝试缩小体积:
git gc --prune=now
但这个应该只是本地,我执行后还是无法提交,报错如下
Counting objects: 174, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (98/98), done.
Writing objects: 100% (174/174), 86.01 MiB | 2.24 MiB/s, done.
Total 174 (delta 104), reused 121 (delta 64)
error: remote unpack failed: error project exceeds the limit of 536,870,912 bytes, rejecting the request
To https://git.code.tencent.com/janiceli/NewMonkey_Algorithm.git
! [remote rejected] master -> master (n/a (unpacker error))
应该需要缩减在线库体积,怎么做?
相似问题