Skip to content
Browse files

[gist] Updated README.markdown

  • Loading branch information...
1 parent a337d55 commit 37498126c1cd1967d86e67a68ef9fa8365c61146 @pix pix committed with
Showing with 8 additions and 1 deletion.
  1. +8 −1 README.markdown
View
9 README.markdown
@@ -34,8 +34,15 @@ Use
Authentication
--------------
+There is two way to set github user and token info:
-Just have your git config set up with your GitHub username and token.
+Using env vars GITHUB_USER and GITHUB_TOKEN:
+
+ $ export GITHUB_USER="your-github-username"
+ $ export GITHUB_TOKEN="your-github-token"
+ $ gist ~/example
+
+Or by having your git config set up with your GitHub username and token.
git config --global github.user "your-github-username"
git config --global github.token "your-github-token"

0 comments on commit 3749812

Please sign in to comment.
Something went wrong with that request. Please try again.