I am currently learning Git and Heroku.
I'm at the point where I have created a Spring Boot project, initialized Git, and created an application on Heroku.
Now when I add all files, everything works. I commit the changes, no flaws, and lastly I set-up a remote to my .git.
This is where my error occurs. When I push my project onto my git, I get an error saying:
To https://git.heroku.com/heroku-boottest.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/heroku-boottest.git'
Keep in mind that my git is empty. I haven't pushed anything else onto the git.
Thanks in advance!