From a5f0f94dcb21e724d7844f88651b8810290f8f80 Mon Sep 17 00:00:00 2001 From: Oliver Schihin Date: Tue, 11 Jan 2022 11:18:06 +0100 Subject: [PATCH 1/2] Update creating-a-github-pages-site-with-jekyll.md --- .../creating-a-github-pages-site-with-jekyll.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md b/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md index 43c4262281..e125c9cb9c 100644 --- a/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md +++ b/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md @@ -68,7 +68,9 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages % If you chose to publish your site from the `gh-pages` branch, create and checkout the `gh-pages` branch. ```shell $ git checkout --orphan gh-pages - # Creates a new branch, with no history or contents, called gh-pages and switches to the gh-pages branch + # Creates a new branch with no history, called gh-pages and switches to the gh-pages branch + # If your repository had content and you want to remove it from the gh-pages branch, do + $ git rm -rf . ``` 1. To create a new Jekyll site, use the `jekyll new` command: ```shell From 7eb3e1e75b1dcba546f1e4f978ceeb7edfd742dc Mon Sep 17 00:00:00 2001 From: Laura Coursen Date: Thu, 20 Jan 2022 14:40:16 -0600 Subject: [PATCH 2/2] Add :nail_care: --- .../creating-a-github-pages-site-with-jekyll.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md b/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md index e125c9cb9c..d9fea6a693 100644 --- a/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md +++ b/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md @@ -68,9 +68,9 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages % If you chose to publish your site from the `gh-pages` branch, create and checkout the `gh-pages` branch. ```shell $ git checkout --orphan gh-pages - # Creates a new branch with no history, called gh-pages and switches to the gh-pages branch - # If your repository had content and you want to remove it from the gh-pages branch, do - $ git rm -rf . + # Creates a new branch, with no history or contents, called gh-pages, and switches to the gh-pages branch + $ git rm -rf + # Removes the contents from your default branch from the working directory ``` 1. To create a new Jekyll site, use the `jekyll new` command: ```shell