1datalad no-annex(1)         General Commands Manual        datalad no-annex(1)
2
3
4

NAME

6       datalad  no-annex  - configure a dataset to never put some content into
7       the dataset's annex
8

SYNOPSIS

10       datalad no-annex [-h] [-d DATASET] [--pattern  PATTERN  [PATTERN  ...]]
11              [--ref-dir REF_DIR] [--makedirs] [--version]
12
13
14

DESCRIPTION

16       This  can  be  useful in mixed datasets that also contain textual data,
17       such as source code, which can be  efficiently  and  more  conveniently
18       managed directly in Git.
19
20       Patterns generally look like this::
21
22       code/*
23
24       which would match all file in the code directory. In order to match all
25       files under ``code/``, including all its subdirectories use such a pat‐
26       tern::
27
28       code/**
29
30       Note that this command works incrementally, hence any existing configu‐
31       ration (e.g. from a previous plugin run) is amended, not replaced.
32

OPTIONS

34       -h, --help, --help-np
35              show this help message. --help-np forcefully disables the use of
36              a pager for displaying the help message
37
38       -d DATASET, --dataset DATASET
39              "specify  the  dataset  to configure. If no dataset is given, an
40              attempt is made to identify the dataset  based  on  the  current
41              working  directory.  Constraints:  Value  must be a Dataset or a
42              valid identifier of a Dataset (e.g. a path)  or  value  must  be
43              NONE
44
45       --pattern PATTERN [PATTERN ...]
46              list  of  path  patterns. Any content whose path is matching any
47              pattern will not be annexed when added to a dataset, but instead
48              will  be  tracked directly in Git. Path pattern have to be rela‐
49              tive to the directory given by the REF_DIR option.  By  default,
50              patterns should be relative to the root of the dataset.
51
52       --ref-dir REF_DIR
53              Relative  path  (within the dataset) to the directory that is to
54              be configured. All patterns are  interpreted  relative  to  this
55              path,  and configuration is written to a ``.gitattributes`` file
56              in this directory. [Default: '.']
57
58       --makedirs
59              If set, any missing directories will be created in order  to  be
60              able to place a file into ``--ref-dir``.
61
62       --version
63              show the module and its version which provides the command
64

AUTHORS

66        datalad is developed by The DataLad Team and Contributors <team@datal‐
67       ad.org>.
68
69
70
71datalad no-annex 0.19.3           2023-08-11               datalad no-annex(1)
Impressum