Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #21 from githubtraining/add_note_02_move-local
Browse files Browse the repository at this point in the history
Add note mentioning SSH connection possibility to GitHub
  • Loading branch information
davenowell authored Jun 25, 2020
2 parents 78ab1f9 + b61f03b commit 5ac1bdc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions responses/02_move-local.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Having a project already stored locally enables you to move it to GitHub rather
4. Type `git commit -m "initializing repository"`
5. Type `git push -u origin master` to push the files you have locally to the remote on GitHub. (You may be asked to log in.)

**Note:** You can also use a password protected SSH key to connect to GitHub. See [Connecting to Githug with SSH](https://help.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh) in our documentation to learn more.

<hr>
</details>

Expand All @@ -29,9 +31,9 @@ Having a project already stored locally enables you to move it to GitHub rather
### Using GitHub Desktop

1. In GitHub Desktop, add a local repository by clicking `File > Add a Local Repository`, and then navigating to your local repository.
1. Create your first commit by typing a summary commit message in the field provided and clicking **Commit to master**
2. Add the remote by clicking `Repository > Repository Settings...` and pasting the URL from your repository on GitHub into the "Primary remote repository (origin)" field. Click **Save**.
3. Click **Publish** in the top right corner to push your repository to GitHub.
2. Create your first commit by typing a summary commit message in the field provided and clicking **Commit to master**
3. Add the remote by clicking `Repository > Repository Settings...` and pasting the URL from your repository on GitHub into the "Primary remote repository (origin)" field. Click **Save**.
4. Click **Publish** in the top right corner to push your repository to GitHub.

<hr>
</details>
Expand Down

0 comments on commit 5ac1bdc

Please sign in to comment.