From c3e9ed2a6e696545dc588c05a503c313285f1160 Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Mon, 23 Mar 2020 01:32:27 +0700 Subject: [PATCH] add git-lfs --- git-lfs.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 git-lfs.md diff --git a/git-lfs.md b/git-lfs.md new file mode 100644 index 0000000..b8d9717 --- /dev/null +++ b/git-lfs.md @@ -0,0 +1,23 @@ +# Git LFS + +Read [Git Large File Storage](https://git-lfs.github.com/). + +After install, run this once: + +```sh +git lfs install +``` + +Select the file types for Git LFS to manage: + +```sh +git lfs track "*.pdf" +``` + +Make sure `.gitattributes` is tracked: + +```sh +git add .gitattributes +``` + +From now on, clone repository will call Git LFS if possible.