File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -339,6 +339,19 @@ on if you need to extend or redo your analysis.
339339 remote resources, see [ReproNim/reproman PR#438](https://github.com/ReproNim/reproman/pull/438);
340340- a copy of the dataset is made available from [`///repronim/ds000003-qc`](http://datasets.datalad.org/?dir=/repronim/ds000003-qc)
341341 and [https://github.com/ReproNim/ds000003-qc]().
342+ - if you would like to create `licenses/` folder in your project datasets
343+ to e.g. contain license for freesurfer, then you better add them to git-annex.
344+ Following commands provide one way to do it:
345+
346+ ```shell
347+ mkdir licenses
348+ # instruct git-annex to add license files to annex, but this added file with instructions to git
349+ echo -e ' * annex.largefiles=anything\n .gitattributes annex.largefiles=nothing' > licenses/.gitattributes
350+ datalad save -m "Add licenses must go into git-annex so I could avoid sharing them" licenses/.gitattributes
351+ cp ~/.freesurfer-license licenses/freesurfer
352+ datalad save -m ' added freesurfer license' licenses/freesurfer
353+ ```
354+
342355
343356
344357# Installation
You can’t perform that action at this time.
0 commit comments