-
-
Save Bogdaan/4e74e7b3a7726ae43e07fee5954612d7 to your computer and use it in GitHub Desktop.
Revisions
-
ozh renamed this gist
Feb 7, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
ozh created this gist
Feb 6, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ At the command line: ``` curl -u ':USERNAME' -d '{"scopes":["public_repo"],"note":"Google Issues to GH"}' https://api.github.com/authorizations curl -H "Authorization: bearer :TOKEN" https://api.github.com/users/:USERNAME -I ``` Replace `:USERNAME` with your Github username and `:TOKEN` with the oauth token you get from first curl After that, the token will be listed in your [Applications](https://github.com/settings/applications) and you can revoke it from there