Issue with pushing large file to GitHub #56630
Replies: 5 comments 4 replies
-
How did you remove the file? If you did If you don't actually want to version that file you don't need LFS at all. 🙂 |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
remote: error: Trace: 04d83a704f32c451a3089bdf2e637a9c9dc55aa44dff7d02bbf96d2149d46a51 |
Beta Was this translation helpful? Give feedback.
-
Try this
Then
|
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
General
Body
I accidentally added and committed a file of size 633.39MB using git add and git commit. As a result, I encountered issues when trying to push the changes using git push. I then removed the 633.39MB file, but I still encountered the following error when attempting to push:
Total 41 (delta 28), reused 1 (delta 0)
remote: Resolving deltas: 100% (28/28), completed with 22 local objects.
remote: error: Trace: 4c8cf6a6bb87835bd62341f0a5f8f81c6353a3335c76ddcab5ddaf61f4eb1aa1
remote: error: See https://gh.io/lfs for more information.
remote: error: File pytorch_model.bin is 633.39 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
To https://github.com/valexsyu/Reorder_nat.git
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/valexsyu/Reorder_nat.git'
I followed the steps mentioned in the documentation to use Git Large File Storage (LFS) and configured it properly. However, I'm still encountering the same error.
I would appreciate any assistance in resolving this issue.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions