4
4

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 で過去との差分のサマリーを表示する

Last updated at Posted at 2014-07-16

「現在のソースコードは、過去のバージョンからどのくらい修正したか?」を知りたい時に使います。

コマンド

git diff --stat <コミットID>

例)git diff --stat c7378a8

結果

 amay077lib                                         |   0
 .../android/fujiphoto/logic/PhotoItemLogic.java    |   1 -
 .../android/fujiphoto/viewmodel/YmapBinder.java    |  24 +-
 graphics/app_icon.svg                              | 436 +++++++++++++++++++++
 graphics/camera.svg                                |  97 +++++
 graphics/circle_small.svg                          |  87 ++++
 graphics/fuji.svg                                  | 118 ++++++
 graphics/loading.svg                               | 142 +++++++
 graphics/pegman.svg                                | 176 +++++++++
 graphics/photo_loading.svg                         | 142 +++++++
 graphics/photo_loading_large.svg                   |  92 +++++

 11 files changed, 1301 insertions(+), 14 deletions(-)
4
4
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
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?