Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket is changed and I can't find my way

Hello everyone,

i am really a newbie. I am habitual to use Bitbucket with Netlify to an old project.

Until two-three months ago i do this way:

- Create a website on my laptop
- Going to Bitbucket
- Click on "Add repository"
- Click on "I have an existing project"
- It give me some steps to follow, something like:

git remote add origin *******
git push -u origin master

I'll do this way and it all always works fine.

Now something it is changed. I click on "add repository" and i do not have the same option.

I can't add my website to git, it always give me some error like: "faile to push some refs to *** integrate the remote changes before pushing again"

I really don't know what to do :(

1 answer

1 accepted

1 vote
Answer accepted

Found it!

In case anyone have my same problem: just open a new repository without .gitignore :)

Tyler T Atlassian Team Sep 09, 2020

When you create a repository with a .gitignore file, that is the first commit. 

So when you use the repo for the first time you will need to do a `git pull` before trying to push.. that caused the "failed to push some refs" error.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

117 views 2 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you