0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Herokuのターミナルでの更新

Posted at

gitを使ってHerokuの更新をしようとしたら
気になる点があったので、投稿しようと思います。

更新方法

1,まずherokuにログイン

heroku login

2,対象のアプリのところで
gitを使って変更履歴を保存

git commit -am "メッセージ"
# commitは変更履歴をGitのリポジトリーに記録します

# -am は -aと-mのオプションを合わせたもの
# -a 変更があったものを指定
# メッセージを追加する

3,最終的にこれで更新します。

git push heroku master
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?