Git/Github problem - large files

Asked

Viewed 2,372 times

0

I’m having a little trouble creating and uploading a git repository.

He tried to upload a file larger than 100.0MB and Github notified me of the restriction. However, I went to the folder and deleted the file. I tried to climb again and it indicates me the same error, even if there is no file there.

I tried to search the network about it and in various ways and attempts, I could not solve. Someone can help me? =)

  • you removed the file, all right, but gave commit applying the removal? basically you need to commit the change, or github will find that the file still exists.

  • Yes, I gave the commit.

1 answer

3


Friend really has some complicators, follows a text of another answer to a question similar to yours:

Git has a great difficulty with large files (>50MB) and a great loss of resources with large repositories (>10GB).

1) If you are running your own git, you will have to set a maximum size for the archive files. On github, the maximum file size is 100MB. But with 50MB it already gives you a warning.

2) Git is not meant to convert binary files. It’s best to use rsync and copy elsewhere.

3) There is a solution called git-Annex to manage large files. Take a look at http://git-annex.branchable.com/

Source: Handle large files with GIT

  • But this file is not required for my repository. I simply deleted it. But I can’t push the remote rep, because it still holds that memory somewhere, it seems to me.

  • you already gave a git ignore on it ?

  • I’ve tried too...

Browser other questions tagged

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