Answers for "git: 'lfs' is not a git command"

0

git: 'lfs' is not a git command. See 'git --help'.

$ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
$ sudo apt-get install git-lfs
Posted by: Guest on February-26-2022
0

git: 'lfs' is not a git command

1. Pre-Requisites
git-lfs requires git version 1.8.2 or later. You can check the version you have by running git --version, and update if required.
If you are installing on macOS, make sure you have Homebrew installed.
2. Download
Download git-lfs by following the steps based on your operating system.

Debian / Ubuntu

$ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
$ sudo apt-get install git-lfs
MacOS (Using Homebrew)

$ brew update
$ brew install git-lfs
Windows

Download and run the latest windows installer.

3. Install
Finally, run git-lfs install to install git-lfs on your system. You can always run git-lfs uninstall to uninstall.
Posted by: Guest on April-11-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language