https://github.com/schliflo/lfs-demo
https://github.com/schliflo/lfs-demo
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/schliflo/lfs-demo
- Owner: schliflo
- Created: 2018-07-07T06:04:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-07T06:33:14.000Z (over 7 years ago)
- Last Synced: 2025-01-26T18:17:09.001Z (8 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lfs-demo
*this repo contains some big files tracked via [LFS](https://git-lfs.github.com/) in the lfs branch*
-> Setup LFS
```bash
git lfs install
git lfs track "img/**"
git add img/test.jpg
git lfs ls-files
```-> Switching branches downloads referenced LFS files
```bash
$ git checkout lfs
Filtering content: 100% (5/5), 21.01 MiB | 608.00 KiB/s, done.
Branch 'lfs' set up to track remote branch 'lfs' from 'origin'.
Switched to a new branch 'lfs'
```