Src refspec master does not match any

For anyone that had this issue and that did not work above this is what worked for me:

  1. Tried the ionic ssh setup (that was working)
  2. checked my git remote -v (ionic was there)

Then followed Ionic Pro: 'ionic' does not appear to be a git repository

What worked was running the “git push git@git.ionic.js.com:…” with your own project git that shows up in your settings section.