Git - the package exceeds the maximum size

I work with a lot of binaries. After a recent change to the local git repository, I tried to push my changes back to the console, only to get the following error.

remote: fatal: pack exceeds maximum allowed size

Unfortunately, I cannot use the strategy described above, since all changes are contained in one commit. Any suggestions? How can I get around this packet size limit?

+4
source share
1 answer

Many serialized files are generated when the code changes and reloads (so one giant makes many small files)

This means that you can split this huge commit into several smaller ones.

  • A git reset HEAD~ "un-commit" .
  • .

, script ( " " ), ( ).

+4

Source: https://habr.com/ru/post/1548120/


All Articles