-
Notifications
You must be signed in to change notification settings - Fork 1
/
git.commands.for.submodules.txt
45 lines (34 loc) · 1.55 KB
/
git.commands.for.submodules.txt
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
git submodule add https://github.com/MetatransApps/Android_LIB_Commons Android_LIB_Commons
git submodule add https://github.com/MetatransApps/Android_LIB_CommonsAds Android_LIB_CommonsAds
git submodule add https://github.com/MetatransApps/Android_LIB_Commons2D Android_LIB_Commons2D
git submodule add https://github.com/MetatransApps/Android_APP_2DGravity Android_APP_2DGravity
git submodule deinit -f Android_LIB_Commons
git submodule deinit -f Android_LIB_CommonsAds
git submodule deinit -f Android_LIB_Commons2D
git submodule deinit -f Android_APP_2DGravity
cd Android_APK_2DGravity_submodules
1)
git submodule add https://github.com/MetatransApps/Android_LIB_Commons
git submodule add https://github.com/MetatransApps/Android_LIB_CommonsAds
git submodule add https://github.com/MetatransApps/Android_LIB_Commons2D
git submodule add https://github.com/MetatransApps/Android_APP_2DBalloons
git submodule add https://github.com/MetatransApps/Android_LIB_CommonsQuestionnaire
git submodule add https://github.com/MetatransApps/Android_APP_QAStroopEffectTest
git submodule add https://github.com/MetatransApps/Android_LIB_CommonsChess
2) Push in each submodule a minor change (e.g. create new history.txt file or update it)
3) git submodule update --remote --merge
4)
cd Android_LIB_Commons
git checkout v101
cd ..
cd Android_LIB_CommonsAds
git checkout v101
cd ..
cd Android_LIB_Commons2D
git checkout v101
cd ..
cd Android_APP_2DGravity
git checkout v101
cd ..
5) git add *
6) push changes of Android_APK_2DGravity_submodules to main