Git-annex intro should introduce datalad drop and get #1041

Open
opened 2023-10-18 09:29:13 +00:00 by jcolomb · 1 comment
jcolomb commented 2023-10-18 09:29:13 +00:00 (Migrated from github.com)

It is pretty important to know how drop works, as it explain why we "push" things using git-annex or git in many cases. (large number of data csv files should go to git-annex so one can drop them)

Describe the solution you'd like

I think a section on dropping data could be included in 101-114-txt2git.html, including the image.

Describe alternatives you've considered

It might also be its own sub-chapter ?

Additional context

I wrote that for the R tutorial that is relevant to this issue but was finally not included in that use case.

:command:datalad save put changes either using Git or Git-annex, depending on options set in .gitattributes.
In this tutorial, we saw several times that when files are versionned via Git-annex, one does not have to keep them on the computer. In the beginning, we indeed saw Bobby use the -n option to the :command:datalad get command, where file simlinks are downloaded but not the files themselves. Later, we spoke about :command:datalad drop .` which get rid of files that are annexed and available on the remote.
This is very useful when one wants to look at the structure of the files, without downloading the files.

### Is your feature request related to a problem? It is pretty important to know how drop works, as it explain why we "push" things using git-annex or git in many cases. (large number of data csv files should go to git-annex so one can drop them) ### Describe the solution you'd like I think a section on dropping data could be included in 101-114-txt2git.html, including the image. ### Describe alternatives you've considered It might also be its own sub-chapter ? ### Additional context I wrote that for the R tutorial that is relevant to this issue but was finally not included in that use case. :command:`datalad save` put changes either using Git or Git-annex, depending on options set in ``.gitattributes``. In this tutorial, we saw several times that when files are versionned via Git-annex, one does not have to keep them on the computer. In the beginning, we indeed saw Bobby use the ``-n`` option to the :command:`datalad get command, where file simlinks are downloaded but not the files themselves. Later, we spoke about :command:`datalad drop .` which get rid of files that are annexed and available on the remote. This is very useful when one wants to look at the structure of the files, without downloading the files.
mih commented 2023-11-06 11:28:52 +00:00 (Migrated from github.com)

Dropping a note here that the first mention of datalad drop is already in docs/basics/101-105-install.rst -- so first chapter. It is not an "explanation", though.

Dropping a note here that the first mention of `datalad drop` is already in `docs/basics/101-105-install.rst` -- so first chapter. It is not an "explanation", though.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
handbook/book#1041
No description provided.