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!


error when trying to push to branch on bitbucket - refspec matches more than one

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!
Nov 15, 2023

Hi all,

I wanted to checkout a remote branch (created by someone else) into my local repository.

I made a silly mistake, and used git checkout -b, with the same name as the remote branch, which means I have created a local branch that already exists remotely....

Of course, with I try to push my changes to this branch, it is clashing.

Here is output of git branch -v -a:

master d93be71 minor edits to check scratch usage script
* remotes/origin/feature/workflow_scripts_cmip6_filename_fixes 8a913a1 fixing all job names in WRF part
remotes/origin/feature/workflow_scripts_cmip6_filename_fixes c33ace9 branch testing
remotes/origin/master d93be71 minor edits to check scratch usage script

You will see that there are two branches with exactly the same name.....What is the best way to fix this? any thoughts?

Kind regards


0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events