10
9

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 期間中の変更ファイル一覧を出す

Posted at

git bashにて以下を実行

$ git diff --stat --name-only <コミットID1> <コミットID2>

diff : 差分を出す
--stat:diffオプション、ファイル名、差分の統計情報()を出す(sample1参照)
--name-only:オプション、ファイル名のみ出す(sample2参照)

git.sample1
$ git diff --stat --name-only <コミットID1> <コミットID2>
fileA
fileB
fileC
...
...
...
git.sample2
$ git diff --stat <コミットID1> <コミットID2>
fileA      |56 ++++++-
fileB      |5  +++
fileC      |66 -
...        |
...        |
...        |
10
9
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
10
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?