fatal: Not a git repository (or any of the parent directories): .git

前端 未结 5 970
一生所求
一生所求 2020-12-16 10:32

I got the following when I try to git push to heroku

fatal: Not a git repository (or any of the parent directories): .git

I try to follow

5条回答
  •  难免孤独
    2020-12-16 11:07

    update sep 2020

    first, you have git repo required to create a heroku app

    git init
    git add .
    git commit -m "initial commit"
    heroku create
    git push heroku master
    
    

    how your code uploading to Heroku

提交回复
热议问题