After reading this issue: https://github.com/git-lfs/git-lfs/issues/2481
I contact [email protected], they solved my issue. Here is the email content:
Hello there,
Thanks for writing in and I'm sorry for the trouble. I've just rebuilt your Git LFS usage and it's now re-enabled on your account.
Thanks, Steve
Now, I can use git-lfs.
Connection to github.com closed by remote host. 6.0 MB/s
Uploading LFS objects: 51% (275/540), 5.5 GB | 5.2 MB/s
Answer from Lin Du on Stack OverflowAfter reading this issue: https://github.com/git-lfs/git-lfs/issues/2481
I contact [email protected], they solved my issue. Here is the email content:
Hello there,
Thanks for writing in and I'm sorry for the trouble. I've just rebuilt your Git LFS usage and it's now re-enabled on your account.
Thanks, Steve
Now, I can use git-lfs.
Connection to github.com closed by remote host. 6.0 MB/s
Uploading LFS objects: 51% (275/540), 5.5 GB | 5.2 MB/s
for anyone facing this issue and visiting here for solution , I found the solution by coincidence and I have no explanation why it worked. Just uninstall git lfs before pushing and it works.
git lfs install --skip-smudge
git lfs track large_file_needed
git add .gitattributes large_file_needed
git commit -m "whatever"
git lfs uninstall
git push