The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket is changed and I can't find my way

Ska
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Ska
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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.

TAGS
AUG Leaders

Atlassian Community Events