Here are the steps I took to make the hero work with git on my Windows machine. Step 1: create ssh rsa keys to use. 1.1. In windows for creating ssh keys you need additional tools from here.
Step 2: generate the ssh key using putty key-gen . name this key as id_rsa. Now you need to set the id_rsa pair (pub & ppk).
Step 3: Put these keys in your
c:\users\<user-name>\.ssh
folder.
Step 4. Now go to the folder where your git is installed. as
C:\Program Files (x86)\Git
and try to create the .ssh folder. Note: to create the .ssh folder, you must run cmd as an administrator and run mkdir.ssh.
Step 5. Now put your id_rsa key pair in this folder "C: \ Program Files (x86) \ Git \. Ssh"
Step 6. Reopen your cmd. Go to the application folder and initialize git again. here is the sequence of commands.
git init git add . git commit -m "This will be resolved now" heroku keys:clear heroku keys:add git remote add heroku git@heroku.com :<your app>.git
Now you can do
git push heroku master . Hope I have reviewed all the steps for a Windows user. for mac and unix user. Winfield
source share