We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b7f435 + c025ada commit 02ab846Copy full SHA for 02ab846
README.md
@@ -106,11 +106,13 @@ token file by pasting a GitHub token with only the `gist` permission into a
106
file called `~/.gist`. You can create one from https://github.com/settings/tokens
107
108
This file should contain only the token (~40 hex characters), and to make it
109
-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`).
110
111
For example, one way to create this file would be to run:
112
113
- echo MY_SECRET_TOKEN > ~/.gist
+ (umask 0077 && echo MY_SECRET_TOKEN > ~/.gist)
114
+
115
+The `umask` ensures that the file is only accessible from your user account.
116
117
### GitHub Enterprise
118
0 commit comments