$ git remote -v heroku https://git.heroku.com/sakas-rails-hello.git (fetch) heroku https://git.heroku.com/sakas-rails-hello.git (push) origin git@github.com:"ファイル名" (fetch) origin git@github.com:"ファイル名" (push)
となっている状態で
git push origin master
とすると
$ git push origin master Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
とのエラーメッセがでてきます
originはgithubでpublicで生成したリポジトリのsshで、そこにmasterブランチをpushしようとした結果です。
ちなみに自分のgitにcommitして、herokuにpushはできましたがgithubでできないという感じです。
回答よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/05/05 21:17 編集
2017/05/05 22:05
2017/05/07 09:46