I was following the Ionic PRO Dashboard setup guide and on the first section “Connect your App” item 3, I executed the command “git push ionic master” but I got the following error:
error: src refspec master does not match any.
error: failed to push some refs to ‘git@git.ionicjs.com:cyrusgojo/mycardoctor.git’
error: src refspec master does not match any.
error: failed to push some refs to 'git@git.ionicjs.com:arains/laff2017.git'
When I
ssh -vT git.ionicjs.com
I get:
The authenticity of host 'git.ionicjs.com (54.68.22.76)' can't be established.
ECDSA key fingerprint is SHA256:(removed).
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'git.ionicjs.com,54.68.22.76' (ECDSA) to the list of known hosts.
...
Permission denied (publickey).
I got the “master does not match any” error and the “Permission denied (publickey)” message when I entered that “ssh …” command, but the problem was not actually what either error message indicated.
git status showed that most of my project was not added.