Converting SVN to Git keeping large files using lfs

Viewed 2993

I'm trying to convert an svn repo to git and i want to keep the large files. These are the commands i use do to it:

git svn clone https://mysvnrepo

Manually create a new repository on our github enterprise site.

git remote add origin https://github.com/myrepo
git push -u origin master

It throws an error saying that the files are over 100 MB. I added the .gitattributes right before the push. All the tutorials that i have seen either don't mention this or tell me to delete the files which i have tried but for some reason it still sees all of the files i deleted and won't let me continue. I know that LFS works for other people but since this is a transfer from svn I'm not sure why this isn't working.

1 Answers
Related