From 9683190d9638fd4c88aa33973f47656edbbef8be Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Mon, 26 Apr 2021 18:28:49 -0400 Subject: [PATCH] Add add and commit steps to Jekyll setup --- .../creating-a-github-pages-site-with-jekyll.md | 7 ++++++- 1 file changed, 6 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 b42ed0a38c..bd73ffb86c 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 @@ -87,7 +87,12 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages % 10. Save and close the Gemfile. 11. From the command line, run `bundle update`. 11. Optionally, test your site locally. For more information, see "[Testing your {% data variables.product.prodname_pages %} site locally with Jekyll](/articles/testing-your-github-pages-site-locally-with-jekyll)." -12. Add your {% data variables.product.product_name %} repository as a remote, replacing {% if enterpriseServerVersions contains currentVersion or currentVersion == "github-ae@latest" %}_HOSTNAME_ with your enterprise's hostname,{% endif %} _USER_ with the account that owns the repository{% if enterpriseServerVersions contains currentVersion or currentVersion == "github-ae@latest" %},{% endif %} and _REPOSITORY_ with the name of the repository. +12. Add and commit your work. +```shell +git add . +git commit -m 'Initial GitHub pages site with Jekyll' +``` +14. Add your {% data variables.product.product_name %} repository as a remote, replacing {% if enterpriseServerVersions contains currentVersion or currentVersion == "github-ae@latest" %}_HOSTNAME_ with your enterprise's hostname,{% endif %} _USER_ with the account that owns the repository{% if enterpriseServerVersions contains currentVersion or currentVersion == "github-ae@latest" %},{% endif %} and _REPOSITORY_ with the name of the repository. ```shell {% if currentVersion == "free-pro-team@latest" %} $ git remote add origin https://github.com/USER/REPOSITORY.git