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 ノートを使用しています。特定の文字列を含むメモ付きのコミットを見つける必要がある場合があります。これまでのところ、次のコマンドを使用していました。
git log --show-notes=* --grep="PATTERN" --format=format:%H
ここでの問題は、コミットメッセージのみのメモにない場合でも、これによりすべてのコミットSHAがPATTERNで出力されることです。そのためのより良い方法はありますか?