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

This widget could not be displayed.

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 Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,197 views 8 10
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