Welcome to Atlassian Community!
To import a local repository this is what you need to do:
git remote add origin <repository URL>
git push -u origin master
When I try to push I get the following - I assume its because the bitbucket repo is not as empty as we'd like? - it has a README.md and .gitignore which I dont want/need? how do I force the push to overwrite the nearly empty bitbucket?
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://bitbucket.org/advenergy/im_dc_lit_g703_103_gnd_fw.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events