Skip to content

Commit 9683190

Browse files
authored
Add add and commit steps to Jekyll setup
1 parent afcb44f commit 9683190

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages %
8787
10. Save and close the Gemfile.
8888
11. From the command line, run `bundle update`.
8989
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)."
90-
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.
90+
12. Add and commit your work.
91+
```shell
92+
git add .
93+
git commit -m 'Initial GitHub pages site with Jekyll'
94+
```
95+
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.
9196
```shell
9297
{% if currentVersion == "free-pro-team@latest" %}
9398
$ git remote add origin https://github.com/<em>USER</em>/<em>REPOSITORY</em>.git

0 commit comments

Comments
 (0)