Skip to content
This repository was archived by the owner on Dec 31, 2025. It is now read-only.

Commit 36d1881

Browse files
committed
Just tune up wording and use correct capitalization on DataLad
Preferred to use terms like "unlock" since "git checkout" does not really do that so it was a bit misleading. I also added a link to datalad run man page.
1 parent 094a485 commit 36d1881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/data_management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ nothing to save, working tree clean
10711071

10721072
##### Using `datalad run`
10731073

1074-
Although the previous example was meant to provide background on how datalad works, in practice there is actually a much easier way to accomplish these steps, which is by using the `datalad run` command. This command will automatically take care of checking out the relevant files, running the command, and then checking the files back in, generating a commit message that tracks the specific command that was used:
1074+
Although the previous example was meant to provide background on how DataLad works, in practice there is actually a much easier way to accomplish these steps, which is by using the [`datalad run`](https://docs.datalad.org/en/stable/generated/man/datalad-run.html) command. This command will automatically take care of fetching and unlocking the relevant files, running the command, and then committing the files back in, generating a commit message that tracks the specific command that was used:
10751075

10761076
```bash
10771077
➤ datalad run -i my_datalad_repo/data/demographics.csv -o my_datalad_repo/data/demographics.csv -- uv run src/BetterCodeBetterScience/modify_data.py my_datalad_repo/data/demographics.csv

0 commit comments

Comments
 (0)