Can't push to Bitbucket repository

Hello,

Working on Win7.

I have created a new directory, added files for a new project, and run "git init".

I created a new project on Bitbucket.

When I try to push the local files to Bitbucket, I get the following errors:

I:\Work\bitbucket\PluralSight\eManager [master +132 ~0 -0]> git push -u origin --all
Password for 'https://cb@bitbucket.org':
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
Everything up-to-date
I:\Work\bitbucket\PluralSight\eManager [master +132 ~0 -0]> git push origin master
Password for 'https://cb@bitbucket.org':
error: src refspec master does not match any.
error: failed to push some refs to 'https://cb@bitbucket.org/cb/emanager.git'

I have followed this procedure several other projects/repositories, and this is the first time I have seen this problem.

What am I doing wrong? Could my upgrading to Git 1.8.3.1 be the problem?

Thanks for any insight....

1 answer

Sorry, forgot to mention I also run this:

git remote add origin https://cb@bitbucket.org/cb/emanager.git


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

224 views 3 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you