Created
April 28, 2013 05:06
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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