today I searched on the internet and
found that GitHub normally blocks the
file larger than 100 MB which is written
in the GitHub documentation here
and if you try to like upload the file
then you will end up with this error so
this says this exceed the GitHub file
size limit of 100 MB
so in today's video I am going to show
you how to deal with this error and how
to upload your file bigger files so
let's get started
foreign
I have created here the repository
called Lars file test
so here I did not have anything but I am
planning to add this model as 5 file
from the deep learning
so to add this file actually this file
size is 270 MB so it's not the normal
case so normally we cannot upload this
file to the GitHub
but in this video I am going to show you
how to upload this file so to do so
let's go to your command prompt and
okay right now I'm in the desktop try
large file test folder so I'm going to
add this file uh using the lfs and then
I am going to upload this file all right
to do so
first of all you need to install the lfs
so it can be installed is git lfs and
install
for me I think it's already installed so
it says git lfs installed and now you
you have to add this file using lfs so
git lfs and track
and then you are going to track the uh
dot as five file because this is my
biggest file so it will simply track all
the S5 files inside this project
directory then after that we we can get
the another
file called git attributes so this is
the simple text file so if you open it
so you will see the S5 I I have this
filter so it will simply try to add this
file using lfs command Okay so after
that you need to get a write git LF as
push and all
origin Main
all right now we pushed our large file
so now it's time to add our file and
then commit it
and then uh push it to our GitHub repo
so git commit minus M and then your
comment message
large file to GitHub
and after that simply git boost
git who is minus U where is in and my
Brand's name is Main
all right if you did it correctly then
your file will be uploaded to GitHub so
you can see it here so writing object so
it's detect only 206 A.D so if you
refresh this side then you will see your
modal file right so you can click on the
model file and you will see that 271 MB
right so in this way you can simply
upload the file larger than 100 MB and
then share with share it with your
co-workers or any other persons so I
hope you enjoy this video and I'll see
you in the next thank you