1
1

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.

stagingにあげるまでのコマンド

Last updated at Posted at 2019-09-17

下記の内容一括実行コマンド

git checkout master && git fetch && git branch -D staging && git checkout -b staging origin/staging && git branch

マスターブランチに行く

git checkout master

###リモートの差分を取り組む

git fetch

###手元のステージングブランチを削除

git branch -D staging

###最新のステージングブランチを取り入れる

git checkout -b staging origin/staging

###ブランチ名を確認

git branch

###マージする

git merge <ブランチ名>

###マージの画面に移り変わる

:wq

###プッシュする

git push origin staging
1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?