You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,3 +3,15 @@
3
3
This is the branch for the pages
4
4
5
5
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.
0 commit comments