mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-08 13:04:45 +08:00
Document providing credentials
This commit is contained in:
@@ -20,9 +20,23 @@ Installation
|
|||||||
------------
|
------------
|
||||||
|
|
||||||
In addition to [fugitive.vim][], [Curl](http://curl.haxx.se/) is
|
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
|
required (included with OS X). There are 3 ways you can tell
|
||||||
set up your [GitHub API
|
rhubarb.vim your GitHub credentials:
|
||||||
token](http://help.github.com/set-your-user-name-email-and-github-token/).
|
|
||||||
|
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
|
If you don't have a preferred installation method, I recommend
|
||||||
installing [pathogen.vim](https://github.com/tpope/vim-pathogen), and
|
installing [pathogen.vim](https://github.com/tpope/vim-pathogen), and
|
||||||
|
|||||||
Reference in New Issue
Block a user