Is it possible to create a new repository in Bitbucket by using command line Git? I have tried the following:
git clone --bare https://username@bitbucket.org
@hannester I forked and slightly modified your script.
You had the incorrect remote url (you left your username in the script). Modified it to included Username and Password in the script file.
And renamed, with instructions on how to add to path:
https://bitbucket.org/oscarmorrison/newgit