Skip to content

Commit

Permalink
indicate location of dataset hierarchy to be temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
malikwirin committed Jan 3, 2025
1 parent d58d77b commit 9e13861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/basics/101-123-config2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ This key is defined on a per subdataset basis, and if set to "``skip``", the giv
If you are a maintainer of a superdataset with monstrous amounts of subdatasets, you can set this option and share it together with the dataset to prevent an accidental, large recursive installation in particularly deeply nested subdatasets.
Below is a minimally functional example on how to apply the configuration and how it works:

Let's create a dataset hierarchy to work with (note that we concatenate multiple commands into a single line using bash's "and" ``&&`` operator):
Let's create a dataset hierarchy in a temporary location as an example to work with (note that we concatenate multiple commands into a single line using bash's "and" ``&&`` operator):

.. code-block:: console
$ # create a superdataset with two subdatasets
$ # create a superdataset with two subdatasets in a temporary directory
$ datalad create superds && datalad -C superds create -d . subds1 && datalad -C superds create -d . subds2
create(ok): /tmp/superds (dataset)
add(ok): subds1 (file)
Expand Down

0 comments on commit 9e13861

Please sign in to comment.