Last active
August 29, 2015 14:26
-
-
Save cotsog/7b8fa9ba93334df0e7c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Inspired from https://github.com/piwik/travis-scripts/blob/git-lfs/install_git_lfs.sh | |
# Change the remote because git lfs doesn't support git:// URLs | |
git remote set-url origin "https://$GITHUB_USER_TOKEN:@github.com/$TRAVIS_REPO_SLUG.git" | |
# Install it! | |
curl -sLo - https://github.com/github/git-lfs/releases/download/v0.5.2/git-lfs-linux-amd64-0.5.2.tar.gz | tar xzvf - | |
cd git-lfs-* | |
sudo ./install.sh | |
cd .. | |
rm -rf git-lfs-* | |
# Use it! | |
git lfs fetch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment