|
@@ -206,6 +206,18 @@ message: additional submodules (for data for instance) may be added later
|
|
|
- set git annex
|
|
|
- sync to gin (change remote URL to project repo, git annex init)
|
|
|
|
|
|
+## Add existing (lab) submodule to a research repository ()
|
|
|
+
|
|
|
+input:
|
|
|
+
|
|
|
+- submodule address
|
|
|
+- folder name in parent repository
|
|
|
+
|
|
|
+logic:
|
|
|
+
|
|
|
+- if needed: download repository on /temp
|
|
|
+- add submodule with git submodule add
|
|
|
+- sync to gin
|
|
|
|
|
|
## Add specific submodule to a research repository ()
|
|
|
|
|
@@ -220,7 +232,7 @@ logic:
|
|
|
- downlaod repository on /temp
|
|
|
- clone template into it (including git-annex behavior)
|
|
|
- sync to gin (change remote URL to project repo, git annex init)
|
|
|
-- add submodule to parent repository
|
|
|
+- add submodule to parent repository (see above)
|
|
|
|
|
|
## Clone research repositories ()
|
|
|
|