Tejas Bharambe
Tejas Bharambe

Reputation: 682

How to push large size file to github?

I am trying to push ExpressPlay.framewrok which is of size 466.00 MB. But GitHub not allowing to push such large files its limit is 100 MB.

I have tried to use git lfs install command in my repository to support large files. But its not working.

does someone know solution for this ?

Thanks in advance

Upvotes: 2

Views: 4349

Answers (1)

Holomorphic Guy
Holomorphic Guy

Reputation: 86

I had similar problem while uploading a 4 gb repository. I wrote this bat script to push files by type. This made push a lot faster.

For Linux

git add **/*.$1
git commit -m "$1"
git push

For Windows

set ext=%1
git add **/*.%ext%
git commit -m "%ext%"
git push

To upload all .js files I'd use

>>> this.bat js

Upvotes: 3

Related Questions