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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"vcs":"subversion","use_lfs":"opt_in","vcs_url":"http://svn.mycompany.com/svn/myproject","status":"complete","status_text":"Done","has_large_files":true,"large_files_size":132331036,"large_files_count":1,"authors_count":4,"url":"https://api.github.com/repos/octocat/socm/import","html_url":"https://import.github.com/octocat/socm/import","authors_url":"https://api.github.com/repos/octocat/socm/import/authors","repository_url":"https://api.github.com/repos/octocat/socm"}