Git-lfs Installation
Linux
Debian and Ubuntu
For Ubuntu 18.04, Debian 10, and newer versions.
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
# For global installation
git lfs install
# For existing repository installation only
git lfs install --localNOTE: An additional
--skip-smudgecan be added to skip automatic downloading of objects oncloneorpull. Conversely, it would require a manualgit lfs pullevery time a new commit is checked out on your repository. This is more useful for cases where you donβt always want to download/checkout every large file.
Uninstall
# For global uninstall
git lfs uninstall
# For local uninstall
git lfs uninstall --localRef: