unable to push repo

Pranesh P December 8, 2014

while creating repository under a project in stash, remote is successfully added but unable to push repository into remote. 'm getting error like this

error: src refspec master does not match any.
error: failed to push some refs to 'http://shruti.muktedar@103.253.36.226:7990/scm/nxtxnsmpl/dev.git'

can u help me reg this

 

1 answer

0 votes
Balázs Szakmáry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 8, 2014

If you already have the empty repo on Stash, the easiest way to push stuff to it is to clone the empty repo, add files, commit and push.

Pranesh P December 8, 2014

yup i cloned empty repo , this error occurred initially while creating repository . 

Balázs Szakmáry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 8, 2014

Did you see it on the web interface of the server or in the local Git client?

Pranesh P December 8, 2014

done , thanks for the support .

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events