[This question is essentially reopening git crash during rebase which never had an answer]
I'm attempting to a rebase from my 'secc' branch as:
$ git rebase main
First, rewinding head to replay your work on top of it...
fatal: Out of memory, malloc failed (tried to allocate 553656577 bytes) # about 0.5 GB
$ git rebase --abort
No rebase in progress?
The failure is related to the fact that both branches and their common ancestor have three .dat files each of which is 0.5 GB.
How can I do a rebase in this situation?
Additional info:
- A 'git merge main' works just fine.
- Augmenting .gitattributes with '*.dat merge=keepTheirs' did not prevent the fatal.
- The *.dat files do differ.
- I'm willing to remove the *.dat files to rebase the others and then add back the *.dat. But how?
- I'm using git 1.7.9.4