Create new repo on Bitbucket from Git Bash terminal?

前端 未结 7 1484
别那么骄傲
别那么骄傲 2020-12-22 19:56

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         


        
7条回答
  •  不思量自难忘°
    2020-12-22 20:26

    @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

提交回复
热议问题