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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,048 views 1 5
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