< Heroku エラー編 > Error: Missing required flag
stagingからproductionにpromoteしようとした時、以下のエラーが出た。
$ heroku pipelines:promote › Error: Missing required flag: › -a, --app APP app to run command against › See more help with --help
flagがない、ということでgit remote -vを確認するとherokuのサーバーと紐づいてなかった。
そのため上記エラーが発生した模様。
以下のコマンドで紐付けをした。
$ heroku git:remote -a アプリ名