| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,7 @@ You can test that your local key works by entering `ssh -T git@github.com` in th | |||
| 20 | 20 | ||
| 21 | 21 | ``` command-line | |
| 22 | 22 | $ ssh -T git@github.com | |
| 23 | - # Attempt to SSH in to github</span> | ||
| 23 | + # Attempt to SSH in to github | ||
| 24 | 24 | > Hi <em>username</em>! You've successfully authenticated, but GitHub does not provide | |
| 25 | 25 | > shell access. | |
| 26 | 26 | ``` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,7 @@ would authenticate you if you replace `<username>` with your GitHub username. | |||
| 33 | 33 | (cURL will prompt you to enter the password.) | |
| 34 | 34 | ||
| 35 | 35 | ``` command-line | |
| 36 | - $ curl -u <username> https://api.github.com/user | ||
| 36 | + $ curl -u <em>username</em> https://api.github.com/user | ||
| 37 | 37 | ``` | |
| 38 | 38 | ||
| 39 | 39 | ### Via OAuth Tokens | |
@@ -42,7 +42,7 @@ Alternatively, you can use [personal access | |||
| 42 | 42 | tokens][personal-access-tokens] or OAuth tokens instead of your password. | |
| 43 | 43 | ||
| 44 | 44 | ``` command-line | |
| 45 | - $ curl -u <username>:<token> https://api.github.com/user | ||
| 45 | + $ curl -u <em>username</em>:<em>token</em> https://api.github.com/user | ||
| 46 | 46 | ``` | |
| 47 | 47 | ||
| 48 | 48 | This approach is useful if your tools only support Basic Authentication but you | |
| Back | FazBrowse Home | New Git URL |
0 commit comments