File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,16 @@ main:
3434## Start Here
3535
3636This 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).
3939
4040In order to update your common subtree inside your pattern repository you can either use
4141` 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 :
4343
4444` ` ` 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
4747` ` `
4848
4949# # Secrets
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ "$1" = "-h" ]; then
77 echo " $0 <subtree_repo> <subtree_branch> <subtree_remote_name>"
88 echo
99 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 "
1111 echo
1212 echo " Please ensure the git subtree command is available. On RHEL/Fedora, the git subtree command"
1313 echo " is in a separate package called git-subtree"
4141if [ " $1 " ]; then
4242 subtree_repo=$1
4343else
44- subtree_repo=https://github.com/hybrid-cloud-patterns /common.git
44+ subtree_repo=https://github.com/validatedpatterns /common.git
4545fi
4646
4747if [ " $2 " ]; then
5353if [ " $3 " ]; then
5454 subtree_remote=$3
5555else
56- subtree_remote=common-subtree
56+ subtree_remote=common-upstream
5757fi
5858
5959git 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