Skip to content

Instantly share code, notes, and snippets.

@denegny
Forked from dbb/new_repo.sh
Created March 24, 2018 16:54
Show Gist options
  • Select an option

  • Save denegny/87d98f166d9197501bdcc7f88d0aaf1a to your computer and use it in GitHub Desktop.

Select an option

Save denegny/87d98f166d9197501bdcc7f88d0aaf1a 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