私はheroku appにプッシュデータとして以下のコマンドを使用しています。私は上記のエラーを得たとき"git push heroku master"を使用中にエラーが発生しました
git clone https://git.heroku.com/bigpro.git
cd bigpro
git add .
git commit . -m "my test on commit"
git push heroku master
私はgit push heroku master
を使用する場合、私はこのような何かを得た。..
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.
は、その後、私はheroku open
コマンドを与えた、私は
▸ ENOTFOUND: getaddrinfo ENOTFOUND api.heroku.com api.heroku.com:443
でエラーが発生しましたを使用して端末でコマンドを変更しようとしましたが、変更を加えた後にgit push heroku master
と入力しました。エラーが発生しました
remote: ! Push rejected to bigpro. remote: To git.heroku.com/bigpro.git !
[remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git.heroku.com/bigpro.git';
あなたはherokuをリモコンとして追加する必要があります。 http://stackoverflow.com/questions/6877915/how-to-attach-my-repo-to-heroku-app – iScrE4m