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に変更を反映できない。branchの問題

Last updated at Posted at 2021-02-17

問題
herokuに変更を反映できない。

原因
ローカル環境でbranchをmargeしてなかった。

環境
laravel
cloud9
heroku
ブランチ名:validate

手順

$ git log
コミット履歴の閲覧

commit 7ed952f927331833295a120672ed70c3f0793402 (HEAD -> validate, origin/validate)
Author: ****
Date:   Tue Feb 16 11:50:26 2021 +0000

    error_commit


$ git status

On branch validate
Your branch is up to date with 'origin/validate'.

nothing to commit, working tree clean


$ git checkout main
mainブランチに切り替え
($ git checkout ブランチ名 :特定のブランチやコミットに切り替える)


$ git merge validate
validateブランチをmergeする


$ git status

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?