Skip to content

Instantly share code, notes, and snippets.

@dbb
Created April 19, 2012 00:07
Show Gist options
  • Select an option

  • Save dbb/2417470 to your computer and use it in GitHub Desktop.

Select an option

Save dbb/2417470 to your computer and use it in GitHub Desktop.
Create a new Github repository from the command line using cURL
curl -F login=$( git config github.user ) -F token=$( git config github.token ) https://github.com/api/v2/yaml/repos/create -F name=$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment