I am following the instructions given here to create a Git repository. All went well until the last line:
$ git push -u origin master
When you create a repository in bitbucket.org, it gives you instructions on how to set up your local directory. Chances are, you just forgot to run the code:
git remote add origin https://username@bitbucket.org/username/reponame.git