How do I push different branches to different heroku apps?

You should add another remote for my-app-prod named prod-heroku (replace GIT_URL with the Git URL that you can find in the settings page of my-app-prod in heroku): git remote add prod-heroku GIT_URL git push prod-heroku production:master This will push your local branch production to the remote branch master in prod-heroku so my-app-prod will get deployed … Read more

Git production/staging server workflow

It’s better to use master branch only for Production and development branch for Staging. Each developer should create local branch to add new features and then merge with development branch. If you’re new to a git, try to use – http://github.com/nvie/gitflow There is also good picture describing git branching model – http://nvie.com/posts/a-successful-git-branching-model/

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)