本文共 616 字,大约阅读时间需要 2 分钟。
Ubuntu
$ curl -s | sudo bash
sudo apt-get install git-lfs
After installing, you can install using:
git lfs install
Getting Started
Download and install the Git command line extension. You only have to set up Git LFS once.git lfs install
Select the file types you’d like Git LFS to manage (or directly edit your .gitattributes). You can configure additional file extensions at anytime.git lfs track “*.psd”
Make sure .gitattributes is trackedgit add .gitattributes
There is no step three. Just commit and push to GitHub as you normally would.git add file.psd
git commit -m “Add design file” git push origin master转载地址:http://koxdi.baihongyu.com/