github: Document how to configure your github OAuth token

This helps make the `github` layer work better
This commit is contained in:
Lily 2016-03-29 13:01:48 -07:00 committed by syl20bnr
parent 74fb719b44
commit 135fdfb612
1 changed files with 10 additions and 2 deletions

View File

@ -7,6 +7,7 @@
- [[#features][Features:]]
- [[#install][Install]]
- [[#layer][Layer]]
- [[#git-configuration][Git configuration]]
- [[#key-bindings][Key Bindings]]
- [[#magit-gh-pulls][magit-gh-pulls]]
- [[#gistel][gist.el]]
@ -14,7 +15,6 @@
- [[#browse-files][Browse files]]
* Description
This layers adds support for [[http://github.com][Github]].
** Features:
@ -30,8 +30,16 @@ To use this configuration layer, add it to your =~/.spacemacs=. You will need to
add =github= to the existing =dotspacemacs-configuration-layers= list in this
file.
* Key Bindings
** Git configuration
You will need to generate a [[https://github.com/settings/tokens][personal access token]] on GitHub. This token should
have the =gist= and =repo= permissions. Once this token is created, it needs to
be added to your =~/.gitconfig=
#+BEGIN_SRC sh
git config --global github.oauth-token <token>
#+END_SRC
* Key Bindings
** magit-gh-pulls
In a =magit status= buffer (~SPC g s~):