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: 

Splitting Repository Fails: src refspec master does not match any

Tom Purcell
May 20, 2019

Hello

I'm following the directions at : https://confluence.atlassian.com/bitbucket/split-a-repository-in-two-313464964.html

When I get to the part where you push origin to mater I get:

~/test/split/ansible [develop] $ git push origin master
error: src refspec master does not match any.
error: failed to push some refs to 'git@bitbucket.org:xxxxxxx/ansible.git'

Not sure how to proceed.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Tom Purcell
May 20, 2019

Okay I figured out a way to do this.

I simply used the online import functionality to import the existing repo into the new repo then deleted what did not need to be in each, committed and pushed. 

TAGS
AUG Leaders

Atlassian Community Events