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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,960 views 26 12
Join discussion

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