Skip to content

Commit

Permalink
Merge pull request tiimgreen#163 from ruduran/master
Browse files Browse the repository at this point in the history
Move SSH keys section into GitHub
  • Loading branch information
tiimgreen authored Apr 16, 2017
2 parents 6845af9 + 87052c1 commit 5cae7bb
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
- [GitHub Student Developer Pack](#github-student-developer-pack)
- [GitHub Resources](#github-resources)
- [GitHub Talks](#github-talks)
- [SSH keys](#ssh-keys)
- [Git](#git)
- [Remove All Deleted Files from the Working Tree](#remove-all-deleted-files-from-the-working-tree)
- [Previous Branch](#previous-branch)
- [Stripspace](#stripspace)
- [SSH keys](#ssh-keys)
- [Checking out Pull Requests](#checking-out-pull-requests)
- [Empty Commits](#empty-commits)
- [Styled Git Status](#styled-git-status)
Expand Down Expand Up @@ -656,6 +656,18 @@ If you are a student you will be eligible for the GitHub Student Developer Pack.
| Git and GitHub Secrets | https://www.youtube.com/watch?v=Foz9yvMkvlA |
| More Git and GitHub Secrets | https://www.youtube.com/watch?v=p50xsL-iVgU |

### SSH keys

You can get a list of public ssh keys in plain text format by visiting:

```
https://github.com/{user}.keys
```

e.g. [https://github.com/tiimgreen.keys](https://github.com/tiimgreen.keys)

[*Read more about accessing public ssh keys.*](https://changelog.com/github-exposes-public-ssh-keys-for-its-users/)

## Git
### Remove All Deleted Files from the Working Tree
When you delete a lot of files using `/bin/rm` you can use the following command to remove them from the working tree and from the index, eliminating the need to remove each one individually:
Expand Down Expand Up @@ -715,18 +727,6 @@ $ git stripspace < README.md

[*Read more about the Git `stripspace` command.*](http://git-scm.com/docs/git-stripspace)

### SSH keys

You can get a list of public ssh keys in plain text format by visiting:

```
https://github.com/{user}.keys
```

e.g. [https://github.com/tiimgreen.keys](https://github.com/tiimgreen.keys)

[*Read more about accessing public ssh keys.*](https://changelog.com/github-exposes-public-ssh-keys-for-its-users/)

### Checking out Pull Requests

Pull Requests are special branches on the GitHub repository which can be retrieved locally in several ways:
Expand Down

0 comments on commit 5cae7bb

Please sign in to comment.