LoginSignup
0
0

More than 3 years have passed since last update.

PhpStromで、リモートブランチとローカルブランチの差分を確認する。

Posted at

Git -> Fetchを選択。

これでリモートのMasterブランチの最新情報を取得する。

もちろん、Fetchしてもローカルのmasterブランチには影響ないのでご安心。

12.jpg

では、リモートのMasterブランチはどこに反映されたのか見ていこう。

ブランチ一覧からRemote/originに最新情報が反映されている。

github_test.png

ローカルブランチのMasterブランチにチェックアウトしてから

Remote/origin/masterを選択して右クリックから

Compare is currentを選択すると

リモートブランチにはあって、ローカルブランチにないものがわかる。

Show diff with Working treeを選択すると

双方の変更の差分が表示されます。

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