Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片和PPT等资源可以用 git-lfs 追踪 #2

Closed
zombie110year opened this issue Apr 24, 2021 · 1 comment
Closed

图片和PPT等资源可以用 git-lfs 追踪 #2

zombie110year opened this issue Apr 24, 2021 · 1 comment

Comments

@zombie110year
Copy link

git lfs 可以将大文件单独存储,独立于仓库之外。避免克隆时需要下载太多数据。
在这些大文件只提交了一次的情况下效果不明显,但如果后面修改了它们,就能体现出效果了。

git lfs install
git lfs track "*.pdf"
git lfs track "*.ppt"
git lfs track "*.pptx"
git lfs track "*.png"
git lfs track "*.jpg"
# 以及其他 ...
@OrangeX4
Copy link
Owner

噢噢,感谢指导,我之前以为 LFS 用起来挺麻烦的,就没有去接触,现在看起来还不错,我这就去用!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants