LoginSignup
8
5

More than 5 years have passed since last update.

【herokuコマンド】アプリ名変更

Posted at

herokuに作成したアプリの名前を変更する方法です。

方法は2つあります。
1. Herokeのサイトから変更する
2. CLI(コマンド)で変更する

1の方法の場合は、サイトからアプリ名を変更した後に、ローカルのgitのリモート設定も変更する必要があります。
2の場合は、gitのリモート設定も自動的に行われます。
今回は2のコマンドを紹介します。

以下のコマンドを実行します。

$ heroku apps:rename newname

上記のコマンドを実行することで、アプリ名がnewnameに変更されます。
gitのリモート設定も自動的に更新されます。

8
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
5