Problems pushing to Github

Asked

Viewed 77 times

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 put your comment as an answer so he can choose the right answer and close the question if you solve his problem.

  • This might help: https://answall.com/q/436352/112052

1 answer

-1

Maybe your repository is sending unnecessary things you can see in the log that there are more than 400Mb to be sent to github. In total there are 472.59 Mib to be sent.

Try to review what you might have accidentally added to be checked in git.

The important message is that the file build/main/PKG-00.pkg and has 161.63 MB.

Github limit is 100Mb.

All the information I wrote here is in the Github log that you made available.

To remove a git file (only), without removing it from your file system, use the following command:

git rm --cached <nomearquivo>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.