Create bitbucket.org repository from command line
#!/bin/bash
function bitbucket_create_repo () {
curl -k -X POST --user username:password "https://api.bitbucket.org/1.0/repositories" -d "name=$1&is_private=true"
}
Usage
$ bitbucket_create_repo REPO_NAME
Written by Ekin Ertaç
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cli
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#