herokuのコマンド

イシュー

  • heroku (とgit)のたまに使うコマンドをいつもググってしまうのでここにメモ

heroku 環境変数の追加・変更

heroku config:set GITHUB_USERNAME=joesmith
heroku config:unset GITHUB_USERNAME
参考

git のリモートURLの変更

$ git remote set-url origin git@git.example.com:foo/bar.git
参考

東京リージョンでheroku を作成する場合

参考

Postgresのバージョン確認

heroku pg:info

参考