# git lfs介绍
# 配置git仓库的lfs url
#
git config remote.origin.lfsurl https://github.com/lx-r/rox-quant-data.git/i
nfo/lfs
git lfs install
git lfs track "*.csv"
git add .gitattributes
git commit -m "add .gitattributes"
git push -u origin master
# 现代版本的 Git LFS 会在克隆时自动触发下载:
git clone https://github.com/lx-r/rox-quant-data.git
# 拉取最新大文件
# 仅拉取当前分支所需的所有 LFS 对象
git lfs pull
# 只拉取特定文件
git lfs pull --include "data/stock/000001.csv"
← GIT工具子模块 GIT中的diff命令 →