LoginSignup
6
7

More than 5 years have passed since last update.

このコミット、master ブランチにマージってされてるんだっけ?

Last updated at Posted at 2017-03-10

--contains オプション

特定のコミットが含まれているブランチを知りたくなったので調べたら git branch--contains というオプションがある事が判明。

$ git branch -a --contains b2b53227
* develop
  fix/testdata
  master

-a オプションを付けてリモートブランチでも検索可能

$ git branch -a --contains 7720445
  fix/ie-cache
  remotes/origin/fix/ie-cache

Git に惚れ直しました←

そしてありがとう StackOverFlow とユーザーの皆
参考にしたのはこちら(参考にしたというか答えがあったというか)

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