wip
This commit is contained in:
parent
6fc0607823
commit
5108019db0
@ -24,13 +24,21 @@ create_prjgit_sample() {
|
||||
echo Project git is here > README.md
|
||||
git add README.md
|
||||
|
||||
git submodule init
|
||||
git submodule init -b main
|
||||
git submodule -q add ../pkgA pkgA
|
||||
git submodule -q add ../pkgB pkgB
|
||||
git submodule -q add ../pkgC pkgC
|
||||
|
||||
git commit -q -m 'first commit'
|
||||
|
||||
git checkout -b base_add_b1 main
|
||||
git submodule -q add ../pkgB1 pkgB1
|
||||
git commit -q -m "pkgB1 added"
|
||||
|
||||
git checkout -b base_add_b2 main
|
||||
git submodule -q add ../pkgB2 pkgB2
|
||||
git commit -q -m "pkgB2 added"
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user