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

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events