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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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

Edited
jkala
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

jatin

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events