0
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 5 years have passed since last update.

git log を使って履歴を検索したい

Last updated at Posted at 2019-11-21

適宜追加する

対象ファイルに関して検索する

git log -- path/of/the/file

もしくは

git log -p path/of/the/file

コンパクトに

git log --word-diff -p path/of/the/file

authorでフィルタ

git log --word-diff --author tanaka -p path/of/the/file

対象ディレクトリでもOK

git log -- path/of/the/directory/
0
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
0
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?