Update Git LFS preference

PATCH {{baseUrl}}/repos/:owner/:repo/import/lfs

You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by Git LFS. You can learn more about our LFS feature and working with large files on our help site.

Request Body

{"use_lfs"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;vcs&quot;:&quot;subversion&quot;,&quot;use_lfs&quot;:&quot;opt_in&quot;,&quot;vcs_url&quot;:&quot;http://svn.mycompany.com/svn/myproject&quot;,&quot;status&quot;:&quot;complete&quot;,&quot;status_text&quot;:&quot;Done&quot;,&quot;has_large_files&quot;:true,&quot;large_files_size&quot;:132331036,&quot;large_files_count&quot;:1,&quot;authors_count&quot;:4,&quot;url&quot;:&quot;https://api.github.com/repos/octocat/socm/import&quot;,&quot;html_url&quot;:&quot;https://import.github.com/octocat/socm/import&quot;,&quot;authors_url&quot;:&quot;https://api.github.com/repos/octocat/socm/import/authors&quot;,&quot;repository_url&quot;:&quot;https://api.github.com/repos/octocat/socm&quot;}