Skip to content

Instantly share code, notes, and snippets.

@loop
Created May 26, 2014 22:01
Show Gist options
  • Save loop/2cf9330cf35c197ffb9e to your computer and use it in GitHub Desktop.
Save loop/2cf9330cf35c197ffb9e to your computer and use it in GitHub Desktop.
Login
If you want to associate your gists with your GitHub account, you need to login with gist. It doesn't store your username and password, it just uses them to get an OAuth2 token (with the "gist" permission).
gist --login
Obtaining OAuth2 access_token from github.
GitHub username: ConradIrwin
GitHub password:
Success! https://github.com/settings/applications
This token is stored in ~/.gist and used for all future gisting. If you need to you can revoke it from https://github.com/settings/applications, or just delete the file.
After you've done this, you can still upload gists anonymously with -a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment