Skip to content

Commit 3d112bd

Browse files
authored
Merge pull request #54435 from github/repo-sync
Repo sync
2 parents fa14840 + c0cbfe9 commit 3d112bd

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

content/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ shortTitle: SSH key passphrases
1818

1919
## About passphrases for SSH keys
2020

21-
With SSH keys, if someone gains access to your computer, the attacker can gain access to every system that uses that key. To add an extra layer of security, you can add a passphrase to your SSH key. To avoid entering the passphrase every time you connect, you can securely save your passphrase in the SSH agent.
21+
With SSH keys, if someone gains access to your computer, the attacker can gain access to every system that uses that key. To add an extra layer of security, you can add a passphrase to your SSH key. To avoid entering the passphrase every time you connect, you can securely cache the key in the SSH agent.
2222

2323
## Adding or changing a passphrase
2424

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

+9-9
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages %
5151
1. If you haven't already, initialize a local Git repository, replacing REPOSITORY-NAME with the name of your repository.
5252

5353
```shell
54-
$ git init REPOSITORY-NAME
54+
git init REPOSITORY-NAME
5555
> Initialized empty Git repository in /REPOSITORY-NAME/.git/
5656
# Creates a new folder on your computer, initialized as a Git repository
5757
```
5858

5959
1. Change directories to the repository.
6060

6161
```shell
62-
$ cd REPOSITORY-NAME
62+
cd REPOSITORY-NAME
6363
# Changes the working directory
6464
```
6565

@@ -68,24 +68,24 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages %
6868
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.
6969

7070
```shell
71-
$ mkdir docs
71+
mkdir docs
7272
# Creates a new folder called docs
73-
$ cd docs
73+
cd docs
7474
```
7575

7676
If you chose to publish your site from the `gh-pages` branch, create and checkout the `gh-pages` branch.
7777

7878
```shell
79-
$ git checkout --orphan gh-pages
79+
git checkout --orphan gh-pages
8080
# Creates a new branch, with no history or contents, called gh-pages, and switches to the gh-pages branch
81-
$ git rm -rf .
81+
git rm -rf .
8282
# Removes the contents from your default branch from the working directory
8383
```
8484

8585
1. To create a new Jekyll site, use the `jekyll new` command in your repository's root directory:
8686

8787
```shell
88-
$ jekyll new --skip-bundle .
88+
jekyll new --skip-bundle .
8989
# Creates a Jekyll site in the current directory
9090
```
9191

@@ -128,9 +128,9 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages %
128128

129129
```shell
130130
{% ifversion fpt or ghec %}
131-
$ git remote add origin https://github.com/USER/REPOSITORY.git
131+
git remote add origin https://github.com/USER/REPOSITORY.git
132132
{% else %}
133-
$ git remote add origin https://HOSTNAME/USER/REPOSITORY.git
133+
git remote add origin https://HOSTNAME/USER/REPOSITORY.git
134134
{% endif %}
135135
```
136136

0 commit comments

Comments
 (0)