Git push to heroku

First, I create new keys using

ssh-keygen -t rsa -C ""

Then I add the generated key to heroku by heroku keys:add.
After that, I tried to push my git repository to heroku using git push heroku master.

  • How to view the full commit diff in tig when viewing the diff for a single file?
  • No submodule mapping found in .gitmodules - how to solve the general case?
  • .gitignore - ignore any 'bin' directory
  • GIT - fatal: Could not resolve host:
  • Get git branch name in Jenkins Jenkinsfile
  • Is there a single command in GIT that I can use to squash last n commits together ?
  • Before that I have configed my git repository using these commands: git init, git add ., git commit,heroku create, git remote add heroku git@heroku:sth.git.

    However, I got this error Host key verification failed.

    I’m running ubuntu version 11.10. This is strange.

  • How to merge a git branch that results in only a single commit (like using --squash), but allowing future merges without conflicts?
  • How does Git's typical workflow compare to Mercurial's?
  • How can I flatten merges into a linear history?
  • .gitignore to ignore all files, then recursively allows files of a certain type
  • Clean history : remove delete actions and ignore some files
  • git how to switch branches without committing your changes
  • 2 Solutions collect form web for “Git push to heroku”

    This is very silly. When it asked whether I wanted to add the host, I just entered without saying yes.

    I think

    git remote add heroku git@heroku:sth.git

    should be

    git remote add heroku

    i.e. rather than just heroku.

    Git Baby is a git and github fan, let's start git clone.