當(dāng)必須上傳大文件時(shí)。需借助git-fls
下載地址:https://git-lfs.github.com/
在Mac電腦上先安裝:
Homebrew: brew install git-lfs
使用方式:
(1)在項(xiàng)目目錄git lfs install。
(2)git lfs track '.文件后綴'。
(3)git add .gitattributes。
(4)配置完成后就可按照平時(shí)git方式使用。
當(dāng)必須上傳大文件時(shí)。需借助git-fls
下載地址:https://git-lfs.github.com/
在Mac電腦上先安裝:
Homebrew: brew install git-lfs
使用方式:
(1)在項(xiàng)目目錄git lfs install。
(2)git lfs track '.文件后綴'。
(3)git add .gitattributes。
(4)配置完成后就可按照平時(shí)git方式使用。