Skip to content

Commit a337d55

Browse files
pixdefunkt
authored andcommitted
[gist] Updated the man-page
1 parent fed2b2c commit a337d55

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

man/gist.1.ron

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ You may additionally ask for help:
4343
4444
## CONFIGURATION
4545
46+
There is two way to set github user and token info:
47+
48+
* Using env vars GITHUB_USER and GITHUB_TOKEN
49+
50+
$ export GITHUB_USER=johndoe
51+
$ export GITHUB_TOKEN=mysecretgithubtoken
52+
$ gist ~/example
53+
54+
* Using git-config(1)
55+
4656
Use git-config(1) to display the currently configured GitHub username:
4757
4858
$ git config --global github.user

0 commit comments

Comments
 (0)