GitHub files > 100MB / problem?

已回答

Hello, i have the following problem -

when i have sometimes files > 100MB in my repo and i do a commit everything gets fine (i even did not get alerted when there are files > 100 MB what is later a big problem...)

but afterwards - when i want to push al the files to github - the whole push get rejected due this big files
i find no way to get this (too) big committed pushfiles from my repo - i can do what i want but at the end the whole push-try gets rejected

(the only solution to get around this is to completely delete the repo from github - and make a fully fresh new repo without the too big changed files...)

Is there no possibility to fully ignore all automatically all files which are to big > 100MB?
Or is there some (easy) way to get this too big files out of the committed files before pushing?
Or is really the only way to pay attention und manually ignore any single file which is > 100MB?

I am not happy with this at all...






0

Probably you should start using Git LFS - https://git-lfs.github.com/

There is no such function in the IDE currently that can prevent committing large files. It might be useful though - please vote for https://youtrack.jetbrains.com/issue/IDEA-256272 if you are interested.

> Or is there some (easy) way to get this too big files out of the committed files

If it is the last commit, you can just Undo it and make a new one without the big files.

Otherwise, you'll have to use Interactive reabse and Edit the commit

1
Avatar
Permanently deleted user

Thanks for the response - Git LFS could be a solution - but at the end i really don´t need this big files on any github.

Would be great when this function will goes in the future into the IDE - voted it up of cousre.

0

请先登录再写评论。