我剛剛克隆我在github庫之一,我已經做了一些改變,我想給它Heroku的應用。但是,當我嘗試運行git push heroku master
,我得到:不能推在Heroku
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我能做些什麼來解決呢?
你有沒有重新推到Github上?同時運行'git remote -v'確保你推向右邊的Heroku repo – Anconia
是的,我已經推到github。和遠程-v給我: 來源myaccount/vitrine.git(取) 來源https://github.com/grosalex/vitrine.git(推) – user1796260
請看我更新的回答 – Anconia