Skip to content

Commit bc6a447

Browse files
author
Saundra Barrett
committed
Resolved issue eefahy#4. Copied authentication from
github.md to cheatsheet.
1 parent 222ebe2 commit bc6a447

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

cheatsheet.md

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Git Cheatsheet
22
===============
33

44
- [Setup & Config](#setup--config)
5+
- [Authentication](#authentication)
56
- [Init & Clone](#init--clone)
67
- [Staging & Snapshots](#staging--snapshots)
78
- [Moving, Removing, & Restoring](#moving-removing--restoring)
@@ -29,6 +30,18 @@ Basic config for the git client:
2930
See existing git config:
3031
`git config --list`
3132

33+
## Authentication
34+
GitHub uses SSH keys to authenticate computers to GitHub user accounts. If you don't already have a SSH key made, create one by running:
35+
`ssh-keygen -t rsa -b 4096 -C "[email protected]"`
36+
37+
Then [upload your SSH Key](https://github.com/settings/keys) to your GitHub account and test access to your account by running:
38+
39+
40+
If everything is properly configured you should get:
41+
```
42+
Hi username! You've successfully authenticated, but GitHub does not
43+
provide shell access.
44+
```
3245

3346
## Init & Clone
3447

0 commit comments

Comments
 (0)