Heroku 不会重新加载我更正的 Procfile
我已经运行了 git status ,它向我显示了 Procfile,我意识到我用小写的 p 拼写了 Procfile。我在我的项目中看到了错误并更新了文件名,但是当我再次保存并运行 git status 时,它仍然显示为小写。当然,现在它没有在 Heroku 上显示该站点。
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: procfile
Run Code Online (Sandbox Code Playgroud)
remote: -----> Discovering process types
remote:
remote: ~ Mis-cased procfile detected; ignoring.
remote: ~ Rename it to Procfile to have it honored.
remote:
remote: Procfile declares types -> (none)
Run Code Online (Sandbox Code Playgroud)
我的第一个项目的新手。我应该删除 Heroku 上的项目并重新开始,还是我可以执行 git init 然后将所有内容再次推送到 Heroku?