Can't push to Bitbucket repository


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 '':
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 '':
error: src refspec master does not match any.
error: failed to push some refs to ''

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 be the problem?

Thanks for any insight....

1 answer

Sorry, forgot to mention I also run this:

git remote add origin

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