# PATCH /repos/{owner}/{repo}/import/lfs

**Resource:** [migrations](../resources/migrations.md)
**Update Git LFS preference**
**Operation ID:** `migrations/set-lfs-preference`
⚠️ **Deprecated**

You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
is powered by [Git LFS](https://git-lfs.com).

You can learn more about our LFS feature and working with large files [on our help
site](https://docs.github.com/repositories/working-with-files/managing-large-files).

> [!WARNING]
> **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).

## Request Body

**Required:** Yes

**Content Types:** `application/json`

## Responses

| Status | Description |
|--------|-------------|
| 200 | Response |
| 422 | (reference) |
| 503 | (reference) |

**Success Response Schema:**

[import](../schemas/import/import.md)

