'How to push heroku app with hyper ? getting error
Solution 1:[1]
error: src refspec main does not match any
means you don't have any commit to push.
And you don't have any commit because your first commit fails.
Your first commit fails because you don't have set user.name
/user.email
If you do this operations in order (tell Git who you are, make a commit, then push), it will work.
Solution 2:[2]
I think you need to push it to master
instead of main
:
git push heroku master
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | VonC |
Solution 2 | Reza Rahemtola |