LoginSignup
81
72

More than 5 years have passed since last update.

2つのブランチの分岐点をみつけるgit show-branch --merge-base

Last updated at Posted at 2013-04-05

masterHEADの分岐点をみつける例で。

git show-branch --merge-base master HEAD

diffと一緒に使うとこのありがたみが分かる

git diff `git show-branch --merge-base master HEAD` HEAD
81
72
2

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
81
72