Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,13 @@ token file by pasting a GitHub token with only the `gist` permission into a
file called `~/.gist`. You can create one from https://github.com/settings/tokens

This file should contain only the token (~40 hex characters), and to make it
easier to edit, can optionally have a final newline (\n or \r\n).
easier to edit, can optionally have a final newline (`\n` or `\r\n`).

For example, one way to create this file would be to run:

echo MY_SECRET_TOKEN > ~/.gist
(umask 0077 && echo MY_SECRET_TOKEN > ~/.gist)

The `umask` ensures that the file is only accessible from your user account.

### GitHub Enterprise

Expand Down