LoginSignup
4
4

More than 3 years have passed since last update.

作業中のブランチに、マスターの変更を適用する[Github Desktop]

Posted at

What

githubを利用して、複数名共同でアプリケーションを作成する際に、
新たにgemを入れて全員で使用したいときのための github desktop の活用方法。

why

上記の方法がわからず、一度マスターにマージしてからgemを共有したところ、
プルリクエストする際に苦心したため。

方法

手順 1

共有したいマスターへの変更(例:gemを入れたい、mixinファイルに変数を定義したいなど)
を作成するためのブランチを作成する。

手順 2

手順1で作成したブランチの作業をマスターにマージする。

手順 3

Github Desktop メニューバーの Branch から Update from master を選択

画面上部のこんな感じのところ↓
alt

以上を行うとマスターの内容を作業中のブランチに適用できるらしい。

4
4
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
4
4