Permalink
Browse files

Merge pull request #72 from barraponto/patch-1

documenting oauth authentication requires github.user in .gitconfig
  • Loading branch information...
2 parents bac65b2 + a629954 commit b57aef17fc4958f0da3857bfdcbe28782bffb48b @mattn committed Apr 7, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 doc/gist-vim.txt
View
9 doc/gist-vim.txt
@@ -201,7 +201,7 @@ gist-vim have two ways to access APIs.
|BasicAuth|
Require github user ID and password. This is easy but not secure.
- You need to either set global git config:
+ You need to set global git config:
>
$ git config --global github.user Username
<
@@ -227,7 +227,12 @@ gist-vim have two ways to access APIs.
Callback URL should be http://mattn.github.com/gist-vim
If you don't want to point this site, use URL parameter 'code' as PIN.
- 2. Start `:Gist -l`
+ 2. If you haven't already set up your github user in .gitconfig:
+>
+ $ git config --global github.user Username
+<
+
+ 3. Start `:Gist -l`
You'll see some prompts. fill ClientID/CilentSecret. Then you can see
browser show up.

0 comments on commit b57aef1

Please sign in to comment.