-
Navigate to git-lfs.com and click Download.
Tip: For more information about alternative ways to install Git LFS for Linux, see this Getting started guide.
-
On your computer, locate and unzip the downloaded file.
-
Open Terminal .
-
Change the current working directory into the folder you downloaded and unzipped.
cd ~/Downloads/git-lfs-1.X.X
Note: The file path you use after
cd
depends on your operating system, Git LFS version you downloaded, and where you saved the Git LFS download. -
To install the file, run this command:
$ ./install.sh > Git LFS initialized.
Note: You may have to use
sudo ./install.sh
to install the file. -
Verify that the installation was successful:
$ git lfs install > Git LFS initialized.
-
If you don't see a message indicating that
git lfs install
was successful, please contact your site administrator. Be sure to include the name of your operating system.
Эта версия GitHub Enterprise Server была прекращена 2024-03-26. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.
Установка хранилища больших файлов Git
Чтобы использовать Git LFS, необходимо загрузить и установить новую программу отдельно от Git.
Platform navigation
Нажмите клавиши ALT+UP, чтобы активировать