I have a binary file of size ~11MB stored in repo. Now I updated this file locally and want to push the new version.
When I push it I see following:
$ git push --set-upstream origin feature/new-win-installer
git: 'credential-cache' is not a git command. See 'git --help'.
Counting objects: 291, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (231/231), done.
Writing objects: 20% (60/291), 34.49 MiB | 135.00 KiB/s
It's already 3 times bigger than original file so I aborted it. I have no other files in this commit.
What's wrong here? How could it be avoided?
I tried to delete the file completely, but I'm unable to do that too:
$ git push --set-upstream origin feature/new-win-installer
git: 'credential-cache' is not a git command. See 'git --help'.
Counting objects: 290, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (230/230), done.
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: The remote end hung up unexpectedly
Writing objects: 100% (290/290), 115.55 MiB | 215.00 KiB/s, done.
Total 290 (delta 110), reused 136 (delta 33)
fatal: The remote end hung up unexpectedly
Everything up-to-date
Anything I can do without mixed reset to the point before I added the file?