I am trying to push a rails 6 app to heroku. I am following these steps:
- git init
- git add .
- git commit -m “My first commit”
- heroku create
- git push heroku master
when I run command: git add . I get this error:
git add .
error: ‘main/’ does not have a commit checked out
fatal: adding files failed
Any suggestions would be greatly appreciated!