title | category | intro | keywords | |||||
---|---|---|---|---|---|---|---|---|
Heroku multiple accounts |
services |
How to use multiple heroku accounts, branches, fork heroku apps |
|
$ heroku git:remote -a app-name
Sets git remote heroku
to https://git.heroku.com/app-name.git
$ git remote rename heroku heroku-staging
{: .-intro}
$ heroku plugins:install heroku-accounts
- Heroku Account Documentation heroku/heroku-accounts
$ heroku accounts:add personal
Enter your Heroku credentials.
Email: [email protected]
Password: ******
$ heroku accounts
$ h![](http://)eroku accounts:set personal
$ heroku config -s -a existing-heroku-app > config.txt
$ cat config.txt | tr '\n' ' ' | xargs heroku config:set -a new-heroku-app
{: .-intro}
$ heroku plugins:install heroku-fork
- Heroku Fork Documentation heroku/heroku-fork
brew tap heroku/brew && brew install heroku
{: .-intro}