From 682f710d755a28746dfe870df6728411abc001d5 Mon Sep 17 00:00:00 2001 From: Hussama Ismail Date: Sun, 5 Jan 2020 20:44:16 +0100 Subject: [PATCH] docs: Updating 'submodule add' command in "Host on GitHub" to use https instead of ssh. The idea is just to keep consistency among commands in this section. --- content/en/hosting-and-deployment/hosting-on-github.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/hosting-and-deployment/hosting-on-github.md b/content/en/hosting-and-deployment/hosting-on-github.md index 200c216c8..9307a2758 100644 --- a/content/en/hosting-and-deployment/hosting-on-github.md +++ b/content/en/hosting-and-deployment/hosting-on-github.md @@ -58,7 +58,7 @@ This is a much simpler setup as your Hugo files and generated content are publis 5. Once you are happy with the results: * Press Ctrl+C to kill the server * Before proceeding run `rm -rf public` to completely remove the `public` directory -6. `git submodule add -b master git@github.com:/.github.io.git public`. This creates a git [submodule][]. Now when you run the `hugo` command to build your site to `public`, the created `public` directory will have a different remote origin (i.e. hosted GitHub repository). +6. `git submodule add -b master https://github.com//.github.io.git public`. This creates a git [submodule][]. Now when you run the `hugo` command to build your site to `public`, the created `public` directory will have a different remote origin (i.e. hosted GitHub repository). ### Put it Into a Script