Skip to content

Commit

Permalink
Document providing credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Apr 7, 2012
1 parent f35acd7 commit d4c3994
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,23 @@ Installation
------------

In addition to [fugitive.vim][], [Curl](http://curl.haxx.se/) is
required (included with OS X). If you haven't already, you'll need to
set up your [GitHub API
token](http://help.github.com/set-your-user-name-email-and-github-token/).
required (included with OS X). There are 3 ways you can tell
rhubarb.vim your GitHub credentials:

1. In Git:

git config --global github.user <user>
git config --global github.password <password>

2. In your shell:

export GITHUB_USER=<user>
export GITHUB_PASSWORD=<password>

3. In Vim:

let g:github_user = '<user>'
let g:github_password = '<password>'

If you don't have a preferred installation method, I recommend
installing [pathogen.vim](https://github.com/tpope/vim-pathogen), and
Expand Down

0 comments on commit d4c3994

Please sign in to comment.