File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,16 @@ main:
34
34
## Start Here
35
35
36
36
This repository is never used as standalone. It is usually imported in each pattern as a subtree.
37
- In order to import the common/ the very first time you can use
38
- ` https://github.com/validatedpatterns/multicloud-gitops/blob/main/ common/scripts/make_common_subtree .sh`
37
+ In order to import the common subtree the very first time you can use the script
38
+ [make_common_subtree.sh](scripts/make- common-subtree .sh).
39
39
40
40
In order to update your common subtree inside your pattern repository you can either use
41
41
` https://github.com/validatedpatterns/utilities/blob/main/scripts/update-common-everywhere.sh` or
42
- do it manually by doing the following :
42
+ do it manually with the following commands :
43
43
44
44
` ` ` sh
45
- git remote add -f upstream- common https://github.com/validatedpatterns/common.git
46
- git merge -s subtree -Xtheirs -Xsubtree=common upstream- common/main
45
+ git remote add -f common-upstream https://github.com/validatedpatterns/common.git
46
+ git merge -s subtree -Xtheirs -Xsubtree=common common-upstream /main
47
47
` ` `
48
48
49
49
# # Secrets
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ "$1" = "-h" ]; then
7
7
echo " $0 <subtree_repo> <subtree_branch> <subtree_remote_name>"
8
8
echo
9
9
echo " Run without arguments, the script would run as if these arguments had been passed:"
10
- echo " $0 https://github.com/hybrid-cloud-patterns /common.git main common-subtree "
10
+ echo " $0 https://github.com/validatedpatterns /common.git main common-upstream "
11
11
echo
12
12
echo " Please ensure the git subtree command is available. On RHEL/Fedora, the git subtree command"
13
13
echo " is in a separate package called git-subtree"
41
41
if [ " $1 " ]; then
42
42
subtree_repo=$1
43
43
else
44
- subtree_repo=https://github.com/hybrid-cloud-patterns /common.git
44
+ subtree_repo=https://github.com/validatedpatterns /common.git
45
45
fi
46
46
47
47
if [ " $2 " ]; then
53
53
if [ " $3 " ]; then
54
54
subtree_remote=$3
55
55
else
56
- subtree_remote=common-subtree
56
+ subtree_remote=common-upstream
57
57
fi
58
58
59
59
git diff --quiet || (echo " This script must be run on a clean working tree" && exit 1)
You can’t perform that action at this time.
0 commit comments