Attention
The Bessemer HPC service was decommissioned on 2025-10-31 and can no longer be accessed by users. Removal of Bessemer references in our documentation is ongoing
Git LFS
Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com
Interactive Usage
After connecting to Stanage (see Establishing a SSH connection), start an interactive session with the following command:
srun --pty bash -i
The latest versions of Git LFS is made available with the command:
module load git-lfs/3.4.0
module load git-lfs/3.2.0
You can now run the git lfs command:
Examples
To get started with Git LFS, the following commands can be used.
Choose the type of files you want to track, for examples all ISO images, with git lfs track:
git lfs track "*.iso"
The above stores this information in gitattributes files, so that file needs to be added to the repository:
git add .gitattributes
Commit, push and work with the files normally:
git add file.iso
git commit -m "Add disk image"
git push
Installation notes
Installation method
This section is primarily for administrators of the system. Git LFS has been installed using the default Easybuild config files.
Build logs and test reports can be found in $EBROOTGITMINLFS with a given module loaded.
Testing method
Testing has been conducted with the above examples.