Src refspec master does not match any

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.


  1. git add --all
  2. git commit -m “initial ionic pro commit”
  3. git push ionic master