0
Hello, my friends!
I’m trying to push to Github in one of my directories that I’ve done several times. Only now you’re making a mistake I’ve never seen before:
- My command:
git push Github Desenvolvimento
- Exit:
Counting objects: 203, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (197/197), done.
Writing objects: 100% (203/203), 472.59 MiB | 4.43 MiB/s, done.
Total 203 (delta 89), reused 0 (delta 0)
remote: Resolving deltas: 100% (89/89), completed with 11 local objects.
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 70d2c7976083db2df123f5b96d34bfc1
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File Profnotas.zip is 311.76 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: File build/main/PKG-00.pkg is 161.63 MB; this exceeds GitHub's file size limit of 100.00 MB
To github.com:Israelmath/Profnotas.git
! [remote rejected] Desenvolvimento -> Desenvolvimento (pre-receive hook declined)
error: failed to push some refs to '[email protected]:Israelmath/Profnotas.git'
The problems are:
- The files are too big -- But my entire directory is just over 4 Mb;
- pre-receive hook declined -- I had already done several pushs and never gave problem..
Could someone help me? I really appreciate any comments that help me!
AS: Ubuntu 18.04
Maybe your repository is sending unnecessary things you can see in the log that there is more than 400Mb to be sent.
472.59 MiB
. Try to review what you might have accidentally added in git. The important message is that the build/main/PKG-00.pkg file is 161.63 MB. Github limit is 100Mb– Danizavtz
@Danizavtz put your comment as an answer so he can choose the right answer and close the question if you solve his problem.
– Leticia Rosa
This might help: https://answall.com/q/436352/112052
– hkotsubo