defunkt / github-gem

`github` command line helper for simplifying your GitHub experience.
http://github.com
MIT License
1.12k stars 188 forks source link

Get github credentials from environment if they are not found in git config #51

Closed ilkka closed 4 years ago

ilkka commented 13 years ago

Hiya,

Here's a little something that allows github to use GITHUB_USER and GITHUB_TOKEN environment variables as alternatives to the git config keys github.user and github.token. I wrote this up when I realized I might in some cases want to version control my ~/.gitconfig. Hope you find it useful.