зеркало из https://github.com/github/docs.git
Коммит
d9cb281ab5
|
@ -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/<em>USER</em>/<em>REPOSITORY</em>.git
|
||||
|
|
Загрузка…
Ссылка в новой задаче