Client Setup

The Git command line extension for LFS for different operating systems can be downloaded from https://git-lfs.github.com/.

Linux

On the various Linux distributions you will need to install the following packages for the command line git client with the LFS extension:

Distribution Command to install package
Fedora sudo yum install git-lfs
CentOS sudo yum install git-lfs
Ubuntu sudo apt-get install git-lfs

isginf managed Linux desktops already have the extension installed.

Windows

For Windows the recommended client is Git for Windows. The basic Git command line utilities are also a viable option. After installing the LFS extension both works with LFS.

isginf managed Windows desktops have the Git command line utilities, the LFS extension and Git for Windows installed. If not then please contact your ITC.

macOS

On macOS you can get Git to work in a terminal by installing the Git command line utilities and the LFS extension.

Afterwards make sure the file /opt/local/etc/gitconfig exists with the following content

[filter "lfs"]                            
        smudge = git-lfs smudge -- %f     
        process = git-lfs filter-process  
        required = true                   
        clean = git-lfs clean -- %f 

Other GUI Clients

The following clients are also known to work with LFS and are available across multiple platforms:

Client Linux macOS Windows
SmartGit yes yes yes
SourceTree no yes yes
Tower no yes yes

Page URL: https://isg.inf.ethz.ch/bin/view/Main/HelpVersionControlGitLabLFSClientSetup
2024-12-30
© 2024 Eidgenössische Technische Hochschule Zürich