Skip to content

Instantly share code, notes, and snippets.

@wesleyhales
Created March 30, 2013 00:05
Show Gist options
  • Save wesleyhales/5274538 to your computer and use it in GitHub Desktop.
Save wesleyhales/5274538 to your computer and use it in GitHub Desktop.
generate oauth token for github access
curl -X POST -u <your_github_username> -H "Content-Type: application/json" -d "{\"scopes\":[\"public_repo\"],\"note\":\"token for pushing from travis\"}" https://api.github.com/authorizations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment