如何将网站推向bitbucket

时间:2013-07-02 17:50:58

标签: cygwin bitbucket

我已在本地开发了我想与其他开发者分享的网站。 我在Bitbucket上创建了一个帐户,并寻找一种推送方式,让我的网站可供其他人使用。 任何的想法?对不起,我对此很新。我正在使用

  

Windows 7上的Cygwin终端

。感谢

1 个答案:

答案 0 :(得分:0)

看一下本教程: https://confluence.atlassian.com/display/BITBUCKET/Import+code+from+an+existing+project

基本代码是:

cd /path/to/my/repo
git remote add origin ssh://git@bitbucket.org/your_git_path.git
git push -u origin master