Git LFS

1 minute read

Git LFS is not installed by default on CloudBees CodeShip Basic, but can easily be added with this script.

For example if you want to install 2.7.0, set that version as an environment variable in your project or add this in the Setup Commands:

export GIT_LFS_VERSION=2.7.0

Next, add this command to your Setup Commands and the script will automatically be called at build time. Note, this script will automatically call git lfs fetch after installation.

curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/git-lfs.sh | bash -s