Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket is changed and I can't find my way

Ska September 9, 2020

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
Ska September 9, 2020

Found it!

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

Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 9, 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
TAGS
AUG Leaders

Atlassian Community Events