他のbranchの内容を調べる時はgit grepしてgit showする
「前に書いたmethodがなくなってるなぁ」
「あぁ、あれ違うbranchで作ったmethodか」
みたいなことを調べる時にタイトルのようにやればいいみたい。
まずはgit grepで違うbranchから探したいものを検索
(git)-[hotfix/2.4.20]-[12:30]% git grep isUniqueWith feature/m48 [/Applications/MAMP/htdocs/lib] feature/m48:app/Model/Enticement.php: 'isUniqueWith' => array( feature/m48:app/Model/Enticement.php: 'rule' => array('isUniqueWith', 'company'), feature/m48:app/Model/Enticement.php: public function isUniqueWith($data, $fields)