Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
変更 (前のコミットとの差分) に特定の識別子が含まれている任意のブランチでコミットを取得したい。関数 (ターゲット識別子はその名前) がファイルからファイルに移動されたため、ファイル履歴の検索は十分ではありません。
試す
git log -p --branches
これにより、ブランチが直接的または間接的に指すすべてのコミットにパッチが適用されます。