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 001014962b..704ad05a11 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 @@ -51,7 +51,7 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages % 1. If you haven't already, initialize a local Git repository, replacing REPOSITORY-NAME with the name of your repository. ```shell - $ git init REPOSITORY-NAME + git init REPOSITORY-NAME > Initialized empty Git repository in /REPOSITORY-NAME/.git/ # Creates a new folder on your computer, initialized as a Git repository ``` @@ -59,7 +59,7 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages % 1. Change directories to the repository. ```shell - $ cd REPOSITORY-NAME + cd REPOSITORY-NAME # Changes the working directory ``` @@ -68,24 +68,24 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages % For example, if you chose to publish your site from the `docs` folder on the default branch, create and change directories to the `docs` folder. ```shell - $ mkdir docs + mkdir docs # Creates a new folder called docs - $ cd docs + cd docs ``` 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 + git checkout --orphan gh-pages # Creates a new branch, with no history or contents, called gh-pages, and switches to the gh-pages branch - $ git rm -rf . + 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 in your repository's root directory: ```shell - $ jekyll new --skip-bundle . + jekyll new --skip-bundle . # Creates a Jekyll site in the current directory ``` @@ -128,9 +128,9 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages % ```shell {% ifversion fpt or ghec %} - $ git remote add origin https://github.com/USER/REPOSITORY.git + git remote add origin https://github.com/USER/REPOSITORY.git {% else %} - $ git remote add origin https://HOSTNAME/USER/REPOSITORY.git + git remote add origin https://HOSTNAME/USER/REPOSITORY.git {% endif %} ```