1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Gitで任意のコミットメッセージを含むコミットのファイル一覧をマージして表示する。

Posted at

結論

以下のコマンドを実行。

git log --grep=コミットメッセージ --name-only | sort | uniq

考えのもと

コミットメッセージからログを絞り込む

git log --grep=検索文字列

特定のコミットのファイル一覧を取得(今回不使用だった)

git show commit_id --name-only

重複行の削除

sort filelist.txt | uniq
1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?