banner
Silas

REAO

Be a better man
github

使用Git lfs支持大于100M大文件push

发现大于 100M 的文件,在 push 的时候会失败

image

得使用 git lfs 才能行。

下面是 mac 上的操作流程

brew install git-lfs

如果在 git lfs track 之前,就使用git add过这个大文件,可能会无效。我这里直接把.git 删除了,重新搞的。

git init
git lfs install
git lfs track 0/wsgw.apk
git add .
git commit -m "first commit"

注意:保证.gitattributes 被 add

image

載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。