Skip to content

Instantly share code, notes, and snippets.

View objbee's full-sized avatar

Yuanye Zhou objbee

View GitHub Profile
@objbee
objbee / git-file-size-diff.sh
Created April 26, 2020 11:16 — forked from wbotelhos/git-file-size-diff.sh
Git File Size Diff
#!/bin/sh
. "$(git --exec-path)/git-sh-setup"
args=$(git rev-parse --sq "$@")
eval "git diff-tree -r $args" | {
total=0
while read A B C D M P; do