You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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 https://bitbucket.org/chethanv_7/flappy-universe-7.git
Uploading LFS objects: 100% (300/300), 19 MB | 356 KB/s, done.
To https://bitbucket.org/chethanv_7/flappy-universe-7.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://bitbucket.org/chethanv_7/flappy-universe-7.git'
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.