Solution To Message: Src Refspec Master Does Not Match Any


If you just sent a common on your Heroku application with Laravel and you get this error message:

error: src refspec master does not match any

You probably use the command:

$ git push heroku master

To fix this, simply change manster to main, like this:

$ git push heroku main

Hope that helps