X Tutup
Skip to content

Commit 8f99993

Browse files
MarkusMarkus
authored andcommitted
Added Instruction on how to update the website reference
1 parent c6b4d02 commit 8f99993

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,15 @@
33
This is the branch for the pages
44

55
Link for Website: http://iluwatar.github.io/java-design-patterns/
6+
7+
## How to update the website reference
8+
9+
Due to the fact that we use submodules, the website doesnt automatically update with the changes in the master branch. And for now this update process is manual, here is how you do it:
10+
11+
1. checkout the latest version of the gh-pages branch
12+
2. open a Git Bash at root level of the repo (ls should show you the index.html file)
13+
3. execute the following command to update the submodule `git submodule update --remote`
14+
4. Check the cmd output line "Submodule path 'pattern': checked out 'COMMIT_HASH'" and validate that the correct COMMIT_HASH is used
15+
5. Check if something changed with `git diff`. It should show the folder 'patterns' changed.
16+
6. Execute `git add .`
17+
7. Commit and push the change

0 commit comments

Comments
 (0)
X Tutup