-
Notifications
You must be signed in to change notification settings - Fork 23
/
update_subtrees.sh
executable file
·46 lines (41 loc) · 2.73 KB
/
update_subtrees.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
# This repository is a repo that includes all released MRST parts using git subtree.
# Running this script pulls all subtrees.
# Intentionally kept simple. Note that main/master depends on when repo was created.
#
# To add new subtree:
# git subtree add --prefix {local path} {repo URL} {remote branch}
# To pull:
# git subtree pull -m "Update subtree" --prefix {local_path} {remote} {remote branch}
# Multi-module repos and core
git subtree pull -m "Update subtree" --prefix core core master
git subtree pull -m "Update subtree" --prefix autodiff autodiff master
git subtree pull -m "Update subtree" --prefix model-io model-io master
git subtree pull -m "Update subtree" --prefix multiscale multiscale master
git subtree pull -m "Update subtree" --prefix visualization visualization master
git subtree pull -m "Update subtree" --prefix solvers solvers master
# co2lab is special - contains both modules and a deprecated folder
git subtree pull -m "Update subtree" --prefix co2lab co2lab master
# Single module repos
git subtree pull -m "Update subtree" --prefix modules/network-models network-models master
git subtree pull -m "Update subtree" --prefix modules/book book master
git subtree pull -m "Update subtree" --prefix modules/dg dg master
git subtree pull -m "Update subtree" --prefix modules/nfvm nfvm master
git subtree pull -m "Update subtree" --prefix modules/mpsaw mpsaw master
git subtree pull -m "Update subtree" --prefix modules/ensemble ensemble master
git subtree pull -m "Update subtree" --prefix modules/geothermal geothermal master
git subtree pull -m "Update subtree" --prefix modules/static-modeling static-modeling master
# Single module repos (third party)
git subtree pull -m "Update subtree" --prefix modules/ad-micp ad-micp main
git subtree pull -m "Update subtree" --prefix modules/domain-decomposition domain-decomposition master
git subtree pull -m "Update subtree" --prefix modules/dual-continuum-mech dual-continuum-mech master
git subtree pull -m "Update subtree" --prefix modules/dual-porosity dual-porosity master
git subtree pull -m "Update subtree" --prefix modules/dual-porosity-permeability dual-porosity-permeability main
git subtree pull -m "Update subtree" --prefix modules/fv-unsat fv-unsat master
git subtree pull -m "Update subtree" --prefix modules/fvbiot fvbiot master
git subtree pull -m "Update subtree" --prefix modules/geochemistry geochemistry master
git subtree pull -m "Update subtree" --prefix modules/hwu-fractures hwu-fractures master
git subtree pull -m "Update subtree" --prefix modules/nwm nwm master
git subtree pull -m "Update subtree" --prefix modules/re-mpfa re-mpfa master
git subtree pull -m "Update subtree" --prefix modules/shale shale main
git subtree pull -m "Update subtree" --prefix modules/upr upr master