Answer the question
In order to leave comments, you need to log in
Git gets stuck on writing objects when pushing to Github due to some project files. How to identify problem files?
When trying to upload a project to an empty Github repository, Git freezes for a while at the "Writing objects" step
λ git push -u origin master
Counting objects: 493, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (414/414), done.
Writing objects: 12% (60/493)
λ git push -u origin master
Counting objects: 493, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (414/414), done.
remote: fatal: early EOF
fWeatal: The remote end hung up unexpectedly
Writing objects: 80% (395rror: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 10053
Writing objects: 100% (493/493), 3.47 MiB | 9.00 KiB/s, done.
Total 493 (delta 54), reused 489 (delta 54)
fatal: The remote end hung up unexpectedly
Everything up-to-date
λ git push -u origin master
Counting objects: 493, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (414/414), done.
Writing objects: 100% (493/493), 3.47 MiB | 86.61 MiB/s, done.
Total 493 (delta 54), reused 489 (delta 54) # <-- здесь
λ git push -u origin master
Counting objects: 493, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (414/414), done.
Writing objects: 100% (493/493), 3.47 MiB | 86.61 MiB/s, done.
Total 493 (delta 54), reused 489 (delta 54)
remote: fatal: early EOF
featal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
rror: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 10053
Everything up-to-date
Answer the question
In order to leave comments, you need to log in
Try changing the channel to a physically different one, it could be a network problem.
Try enabling the GIT_TRACE_PACKET flag.
Try to work with another repository, which obviously does not contain problematic files.
Try to work with this repository on another computer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question