1
0
mirror of synced 2026-01-17 21:01:42 -05:00

Merge pull request #21936 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2021-10-06 13:11:24 -04:00
committed by GitHub

View File

@@ -136,10 +136,10 @@ $ curl -i -u <em>your_username</em> {% data variables.product.api_url_pre %}/use
When prompted, you can enter your OAuth token, but we recommend you set up a variable for it:
You can use `-u "username:$token"` and set up a variable for `token` to avoid leaving your token in shell history, which should be avoided.
You can use `-u "your_username:$token"` and set up a variable for `token` to avoid leaving your token in shell history, which should be avoided.
```shell
$ curl -i -u <em>username:$token</em> {% data variables.product.api_url_pre %}/users/octocat
$ curl -i -u <em>your_username:$token</em> {% data variables.product.api_url_pre %}/users/octocat
```