Search code examples
cygwinbitbucket

How to push a website to bitbucket


I have website already developed locally that I want to share with other developers. I have created an account on Bitbucket and looking for a way to push and make my website available to others. Any idea? Sorry I'm quite new in this. I am using

Cygwin Terminal on Windows 7

. Thanks


Solution

  • Give a look to this tutorial: https://confluence.atlassian.com/display/BITBUCKET/Import+code+from+an+existing+project

    The basic code is:

    cd /path/to/my/repo
    git remote add origin ssh://[email protected]/your_git_path.git
    git push -u origin master