https://github.com/briochemc/testgitlfs
Testing git-lfs to store figures and other output
https://github.com/briochemc/testgitlfs
Last synced: 3 months ago
JSON representation
Testing git-lfs to store figures and other output
- Host: GitHub
- URL: https://github.com/briochemc/testgitlfs
- Owner: briochemc
- Created: 2020-03-10T01:55:09.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-10T05:28:49.000Z (about 5 years ago)
- Last Synced: 2024-10-12T10:30:19.626Z (7 months ago)
- Language: Julia
- Size: 538 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# Testing git-lfs
I produced a figure with Julia code and saved it as `test.svg` in `fig/` (which is `gitignore`d).
I set git-lfs to track svg files via
```bash
git lfs track "*.svg"
```and also made sure I was tracking `.gitattributes` via
```
git add .gitattributes
```and finally just added/committed the file the usual way
```
git add -f fig/test.svg
```This figure is now available as svg through git-lfs (so not in the repo per say) and hopefully you can see it below

This is not very good... For comparison, here is the same figure but tracked without git-lfs:
