Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I upload my project to Github when it is over 100 MB?

Tags:

github

I'm using the GoogleMaps pod which is 130MB, so github won't let me upload my project. What is the workaround for this?

enter image description here

like image 977
Michael McKenna Avatar asked Dec 29 '15 23:12

Michael McKenna


1 Answers

I suggest excluding Pods directory (by adding it to your .gitignore file) in your git repository. Pods can be recreated with your podfile, so you don't have to store them in your repository.

Other approach, e.g. when you have framework you precompiled yourself and don't want your other team members to need compile it again, is to use git lfs: https://git-lfs.github.com

like image 99
Sebastian Osiński Avatar answered Sep 27 '22 19:09

Sebastian Osiński