This topic describes how to create a Git LFS Repository. This is required before publishing and installing Git LFS packages. There are three primary types of repositories:
Local repositories: Where you store and share 1st and 2nd party packages with your organization
Remote repositories: Enable you to download from any remote location, including external package registries or other Artifactory instances
Virtual repositories: Enable aggregating remote and local repositories, enabling your organization to scale by providing a single URL that provides access to multiple repositories and types
For more information on JFrog repositories, see Repository Management Overview.
Prerequisite: You need Admin or Project Admin permissions to create a Git LFS repository. If you don't have Admin permissions, the option will not be available.
To create a Git LFS repository:
In the Administration tab, click Repositories | Create a Repository
Select the repository type you want to create, configure the required fields (described in the following list), then click Create Repository.
For Local Repositories, in the Repository Key field, type a meaningful name for the repository. For example,
gitlfs-local-repository-1. For more information on local repositories and all their possible settings, see Local Repositories.For Remote Repositories, additionally, verify the Repository URL and update if needed. For more information on Remote Repositories and all their possible settings, see Remote Repositories. You can create a Git LFS remote repository to proxy Git LFS local repositories on other Artifactory instances and enjoy all the features of a Smart Remote Repository.
For Virtual Repositories, additionally select one or more local or remote repository types to include in the virtual repository. For more information on virtual repositories and all their possible settings, see Virtual Repositories. Make sure you also set the Default Deployment Repository so you can both download from and upload to this repository.
Click Create Repository. The repository is created, and the Repositories window is displayed.