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 ruby on rail tutorial book.
I think I installed the client heroku package(by downloading from heroku website and follow their instruction to install, GUI format installation). So my client side heroku should be ok (I am new to programming , so not sure if saying by this term is correct or not).
Then I open a new terminal and key in
git push heroku master
I got
fatal: Not a git repository (or any of the parent directories): .git
Can anyone good at this explain which part I missed? i.e. have to move to some directory first?
Please show me the command since I might still have no idea without command.
PS: I think I have repository in my github already.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…