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..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,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 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