久しぶりに Heroku で運用しているサービスを修正しようとしたらプッシュするときにエラーが発生したのでメモ。 まずは clone。 $ git clone git@heroku.com:{repos-name}.git もろもろ修正したあと、push。 $ 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. 怒られる。 .git/config を確認してみる。 $ vim .git/config [remote "origin"] url