INSTALL LFS ON RHEL/CentOS
-
Install git >= 1.8.2
-
Recommended method for RHEL/CentOS 5 and 7 (not 6!)
- Install the epel repo link (For CentOS it’s just
sudo yum install epel-release
) sudo yum install git
-
Recommended method for RHEL/CentOS 6
- Install the IUS Community repo.
curl -s https://setup.ius.io/ | sudo bash
or here
sudo yum install git2u
-
You can also build git from source and install it. If you do that,
you will need to either manually download the git-lfs rpm and install it
with
rpm -i --nodeps git-lfs*.rpm
, or just use the Other
instructions. The only other advanced way to fool yum is to create and
install a fake/real git rpm to satisfy the git >= 1.8.2 requirement.
-
To install the git-lfs repo, run
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash
from here
-
sudo yum install git-lfs
-
git lfs install
Install software on your Macbook MAC
brew install git-lfs
List type files to be tracked
git lfs track "*.psd"
git add .gitattributes
Example
git add file.psd
git commit -m "Add design file"
git push origin master