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

前端 未结 5 965
一生所求
一生所求 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:09

    This error comes because you are trying to push the changes from a non-cloned working copy of your git repository. have you initialized git repo on the dir that you are working?? if not so initialize git repo by using git init and then either do a git clone or add a remote by using git remote add origin git@github.com:repourl.git for more detail refer this

提交回复
热议问题