How to push a local GIT repository to Bitbucket
- Launch Bitbucket
- Click on Repositary -> Create Repository
- Enter your Repository name
- Set the access level to This is a private repository
- Set Repository type to GIT
- Click on Create Repository
- Using GIT on the command line, execute the next set of commands:
cd /path/to/my/repository git remote add origin https://username@bitbucket.org/<username>/<repositoryname>.git git push -u origin --all # pushes up the repo and its refs for the first time git push origin --tags # pushes up tags