Skip to content

Commit c370444

Browse files
committed
Removing some headers that are not needed now when it is not in slide-format
1 parent 82f422f commit c370444

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

docs/images/key-add-new.png

48.8 KB
Loading

docs/teamwork.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ NOTE: GitHub previously used "master", but is now using "main" as the name for t
3131

3232
---
3333

34-
## Teamwork
35-
3634
* In this session you will be working in small groups of 2-4 people.
3735
* Each group will go to a Zoom break-out room and work together there.
3836
* You will be using GitHub for the remote repository.
@@ -529,9 +527,6 @@ In this exercise you create SSH keys and upload to GitHub. Then test that it wor
529527
530528
2. You will be asked for a file to save the key. Unless you have an existing SSH key, accept the default.
531529
3. Enter a passphrase and repeat it.
532-
533-
---
534-
535530
4. Add the key to the ssh-agent. Here we assume the default name:
536531
```
537532
$ eval "$(ssh-agent -s)"
@@ -542,22 +537,18 @@ $ ssh-add ~/.ssh/id_rsa
542537
543538
---
544539
545-
<!-- .slide: style="font-size: 28px;" -->
546-
547540
**Adding the SSH key to GitHub**
548541
549542
1. On GitHub, click your avatar in the top right corner and pick "Settings".
550543
2. Choose "SSH and GPG keys"
551544
3. Click "Add new SSH key"
552545
4. Add a descriptive label for the key in the "Title" field. In the key field you paste the content of the key (~/.ssh/id_rsa.pub)
553-
![](https://i.imgur.com/DzOFZTd.png =500x)
546+
![Add new SSH key to GithHub](../images/key-add-new.png)
554547
5. Click "Add SSH key"
555548
6. Confirm your GitHub password if you are prompted for it.
556549
557550
---
558551
559-
<!-- .slide: style="font-size: 28px;" -->
560-
561552
**Testing the SSH keys**
562553
563554
1. Open a terminal
@@ -578,8 +569,6 @@ Hi bbrydsoe! You've successfully authenticated, but GitHub does not provide shel
578569
579570
## Third exercise, clone, push, pull
580571
581-
<!-- .slide: style="font-size: 28px;" -->
582-
583572
We now have SSH keys set up. Time to test it from your own machine:
584573
585574
1. Clone the repository, using the SSH address (click CODE on the GitHub repository and pick SSH). You will be asked for the key passphrase.

0 commit comments

Comments
 (0)