Skip to content

Instantly share code, notes, and snippets.

@ih2502mk
Created February 26, 2014 16:56
Show Gist options
  • Save ih2502mk/9233574 to your computer and use it in GitHub Desktop.
Save ih2502mk/9233574 to your computer and use it in GitHub Desktop.
Curl command to get Github Auth token
curl -u <username> \
-d '{"scopes":["public_repo"],"note":"CI: demosite"}' \
https://api.github.com/authorizations
# See https://developer.github.com/v3/oauth/ for help on post data json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment