Git: show total file size difference between two commits?

后端 未结 5 467
心在旅途
心在旅途 2020-12-04 08:05

Is it possible to show the total file size difference between two commits? Something like:

$ git file-size-diff 7f3219 bad418 # I wish this worked :)
-1234 b         


        
5条回答
  •  独厮守ぢ
    2020-12-04 08:44

    I made a bash script to compare branches/commits etc by actual file/content size. It can be found at https://github.com/matthiaskrgr/gitdiffbinstat and also detects file renames.

提交回复
热议问题