LoginSignup
19

More than 5 years have passed since last update.

githubのPull Requestをレビューするときによく使うコマンド

Last updated at Posted at 2013-06-12

git show-branch --merge-baseを使い,以下を実行すると"masterから分岐させた時点からHEADまでの最新コミット一覧"を取れる.

$ git co some-branch-to-review
$ tig --reverse master...HEAD

参考

git-show-branch(1): branches/their commits - Linux man page
現在のブランチで加えた変更を見る #git - Qiita

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
19