Created
November 2, 2010 09:39
-
-
Save romac/659420 to your computer and use it in GitHub Desktop.
To make this work, you should first create a password in "Keychain Access" named "github.token" and set the password to your GitHub token.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To make this work, you should first create a password in "Keychain Access" named "github.token" and set the password to your GitHub token. | |
[github] | |
user = USERNAME | |
token = !security 2>&1 >/dev/null find-generic-password -gs github.token | ruby -e 'print $1 if STDIN.gets =~ /^password: \\\"(.*)\\\"$/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment