lk/data/git/git-lfs.md

25 lines
284 B
Markdown
Raw Normal View History

2022-08-18 00:25:38 +00:00
---
2022-11-12 18:14:33 +00:00
title: "git-lfs"
2022-08-18 00:25:38 +00:00
tags: [ "Documentation", "data" ]
---
Install, and add with
```bash
git lfs install
```
2022-08-18 00:25:38 +00:00
Then track some filetype with:
```bash
git lfs track "\*.ttf"
```
2022-08-18 00:25:38 +00:00
Or a directory with:
```bash
git lfs track "images/"
```
2022-08-18 00:25:38 +00:00
All changes require adding `.gitattributes`.