]> apps.delaporte.us Git - dotfiles.git/blob - doc/github.md
cae9634dba81fd50a0d505275618cfae891b347b
[dotfiles.git] / doc / github.md
1 ## Setup GitHub Key
2
3 1. Add new key to GitHub
4
5 ```sh
6 cat ~/.ssh/id_rsa.pub
7 ```
8
9 Visit <https://github.com/settings/keys>
10
11 1. Switch `dotfiles` to use SSH key access
12
13 Edit `.git/config`:
14
15 ```ini
16 url = git@github.com:edthedev/dotfiles.git
17 ```
18
19 ## Setup GitHub CLI
20
21 1. Install
22
23 ```powershell
24 winget install --id GitHub.cli
25 ```
26
27 2. Authorize
28
29 ```powershell
30 gh auth login
31 ```