Homebrew: brew install git-lfs
MacPorts: port install git-lfs
1、安装git和git-lfs,然后运行:
`git lfs install`
2、添加你要上传的大文件例如:
git lfs track "*.psd"
确保.gitattributes is tracked:
git add .gitattributes
3、开始推送:
git add file.psd git commit -m "Add design file" git push origin master