Is git LFS compatible with SVN client support on GitHub?

I’m looking at migrating a subversion repo to GitHub, with a first step being to have it hosted in a git repo on GitHub while continuing to access it with my existing svn clients. First, am I correct that GitHub’s support for accessing git repos from svn supports doing exacty that? Second, there are some large files in the repo which I intend to handle by using git LFS. Will the svn client support work with that? If not does anyone have suggestions about how to handle the migration?

First, am I correct that GitHub’s support for accessing git repos from svn supports doing exacty that?

Yes, you can find more information on Subversion support in our help documentation.

Second, there are some large files in the repo which I intend to handle by using git LFS. Will the svn client support work with that? If not does anyone have suggestions about how to handle the migration?

Git LFS isn’t specifically designed to interoperate with the SVN bridge. I was able to find this issue that has some information on the challenges and ways to work around it but they are less than ideal.

I hope that helps!

I find plenty of documentation that descrines the manual step of finding the large files and purging them, which would allow adding them again to the Git repository using LFS. That makes the migration feasible for me. The question I had is whether the svn support will work with a GitHub repo that uses LFS. There is no mention of it in the svn support help documentation. I did an experiment. As one might expect it did not work. When I try to svn checkout a GitHub repo that uses LFS to contain a large file, all that svn sees is the small text file reference that is actually in the repo. So it will not be possible to use the subversion support in GitHub to transition a shift from svn to Git unless we first change our build and test system to store the large files outside of the repo. That would eliminate all the advantages we would have got from LFS after the transition to Git, and make the entire transition effort less seemless.

It should be possible for GitHub to upgrade the svn support to recognize LFS repos and do the translation of commits and pulls of large files, but it doesn’t do that now.