Skip to content

Commit 3af03c6

Browse files
committed
extend info about options to start sub-modules
1 parent 47f0c82 commit 3af03c6

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,16 @@ You can locally build your site using the shell command `hugo serve` in the work
5151

5252
#### Initialise the sub-modules
5353

54-
When you locally clone your events repo to your machine, the first time you build the project you _might_ need to initialise the sub-modules which contain the theme. You do this in 2 shell commands in the working directory of the project.
54+
When you locally clone your events repo to your machine, the first time you build the project you _might_ need to initialise the sub-modules which contain the theme. You can avoid this by cloning with the `--recurse-submodules` option, similar to this:
5555

5656
```
57-
git submodule init
58-
git submodule update
57+
git clone --recurse-submodules https://github.com/satrdays/[my_conference_repo]
58+
```
59+
60+
If you fogot that, you can always run this command _after_ you cloned the repo normally:
61+
62+
```
63+
git submodule update --init
5964
```
6065

6166
### Edit the base url in `config.toml`

0 commit comments

Comments
 (0)