Skip to content

Instantly share code, notes, and snippets.

@chrisross
Created April 28, 2013 05:06
Show Gist options
  • Save chrisross/5475964 to your computer and use it in GitHub Desktop.
Save chrisross/5475964 to your computer and use it in GitHub Desktop.
This shell command is how you can remotely create a git repo on your bitbucket account using cURL (and Bitbucket's Repositories API v1)
curl -X POST -u <username_here> https://api.bitbucket.org/1.0/repositories -d "name=repo_example&description=testing+description&is_private=true&scm=git" --verbose
=> Enter passphrase:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment