Can't push to the heroku

后端 未结 9 778
猫巷女王i
猫巷女王i 2020-12-13 02:02

I was pushing the current git repository into the heroku. That online application was developed using Scala and IntelliJ. And I don\'t know how to fix this error.

         


        
9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-13 02:23

    There has to be a .git directory in the root of your project.

    If you don't see that directory run git init and then re-associate your remote.

    Like so:

    heroku git:remote -a herokuAppName
    git push heroku master
    

提交回复
热议问题