@@ -9,7 +9,7 @@ __NOTE: This project is work in progress!__
...
@@ -9,7 +9,7 @@ __NOTE: This project is work in progress!__
[[_TOC_]]
[[_TOC_]]
## What problem is solved by Git LFS?
## Why bother with Git LFS?
The main purpose of Git LFS is to treat **data** files *as conveniently as if they were inside* a Git repository, while *actually keeping them outside* of the repository.
The main purpose of Git LFS is to treat **data** files *as conveniently as if they were inside* a Git repository, while *actually keeping them outside* of the repository.
There are technical reasons in Git's design to make this extra step necessary:
There are technical reasons in Git's design to make this extra step necessary:
...
@@ -23,18 +23,13 @@ There are technical reasons in Git's design to make this extra step necessary:
...
@@ -23,18 +23,13 @@ There are technical reasons in Git's design to make this extra step necessary:
## Is it a good idea to use Git LFS for your project?
## Is it a good idea to use Git LFS for your project?
You should consider several aspects before uploading data to JLU GitLab.
You must consider several aspects before uploading any data to JLU GitLab.
If in doubt about your specific situation, please ask the research data manager via email, at [forschungsdaten@uni-giessen.de](mailto:forschungsdaten@uni-giessen.de).
Please read [this information](https://gitlab.test.uni-giessen.de/jlugitlab/support/-/blob/master/en/Information.md#storage-of-research-data) on research data management.
If in doubt about your specific situation, please consult the department for research data, [forschungsdaten@uni-giessen.de](mailto:forschungsdaten@uni-giessen.de).
- You should __never__ save data containing personally identifying information on JLU GitLab.
- In principle, Git LFS is suitable for data with "normal protection requirements" (in German, "normalem Schutzbedarf"), FIXME: EXPLAIN.
- Git LFS is most suitable if you want to integrate data and their analysis code in the same place.
If you just want a place to keep your data on their own, you should also consider the option to use [JLUbox](https://www.uni-giessen.de/fbz/svc/hrz/svc/daten/jlubox) as well as [network drives](https://www.uni-giessen.de/fbz/svc/hrz/svc/daten/san/index_html), etc.
- Compared with [JLUdata](https://jlupub.ub.uni-giessen.de/handle/jlupub/1), you can store data privately among the members of your project.
JLUdata is the preferred choice to *publish* data (for example, you get a DOI).
- FIXME: Clarify that we talk about LFS on JLU GitLab, but that people can run their own LFS server with different settings/policies!
- FIXME: Clarify that we talk about LFS on JLU GitLab, but that people can run their own LFS server with different settings/policies!
## Practical steps how to use Git LFS
## Practical steps how to use Git LFS
Assumptions:
Assumptions:
- You have Git installed on your machine and you know the basics how to use it (TODO, specify: `add`, `commit`, `pull`, `push`).
- You have Git installed on your machine and you know the basics how to use it (TODO, specify: `add`, `commit`, `pull`, `push`).