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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Why I cant push my new project and getting error: failed to push some refs to ..........etc error

Hi I am new to source tree and trying to push my game to bitbucket using source tree. I created a local repository and connected that with my remote repository. But when I try to push it , I am getting the following errors:


git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin master:master
Pushing to
Uploading LFS objects: 100% (300/300), 19 MB | 356 KB/s, done.
! [rejected] master -> master (fetch first)
error: failed to push some refs to ''

hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.


You can find the screenshot of the error. How can I overcome this source tree error.png

1 answer

0 votes
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2022

Hi @Chethan V welcome to the community.
Your local repo and remote repo are out of sync.
There are changes in the remote repo that are not in your local.
You must get those remote changes into your local repo prior to pushing.
Do a pull on the remote repo then redo your push.

I tried to pull but got the following error @Craig Nodwell 2022-05-18.png

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events