Files
Obsidian-Main/22.01. 軟體工具、設定/git/lfs.md
Awin Huang 57f21af506 vault backup: 2025-12-08 14:46:06
Affected files:
22.01. 軟體工具、設定/git/lfs.md
22.01. 軟體工具、設定/git/pull.md
2025-12-08 14:46:06 +08:00

417 B

tags, aliases, date, time, description
tags aliases date time description
2025-12-08 11:18:45

將檔案交由 LFS 管理

git lfs track "*.psd"

用 git lfs migrate 把歷史中的大檔案改寫成 LFS

git lfs migrate import --include="path/to/your/large-file" --everything

移除已經 commit 的大檔案

git filter-repo --path "path/to/your/large-file" --invert-paths

參考來源