Create project in ror Open git console Change to project directory Enter command heroku create To rename the heroku project , heroku rename < new name > --app <old name> To add project to git repository git init Note:It should enter at the first time only(no need after every modification) git add . git commit -m "<comment>" git remote add < name > git@heroku.com :< project name >.git Note:It should enter at the first time only(no need after every modification) git push < name > master To clone an existing project from git git clone git@heroku.com :< project name >.git Before changing database, application should be in maintenance mode heroku main...