Find big file history
git rev-list --objects --all \
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
| awk '/^blob/ {print substr($0,6)}' \
| sort --numeric-sort --key=2 \
| cut --complement --characters=13-40 \
| numfmt --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
Remove history
'tools > git' 카테고리의 다른 글
Git: merge with specific branch (0) | 2018.06.25 |
---|---|
How to remove untracked local files from git work tree (0) | 2018.04.25 |
Git tracking file/direcotry 제거하기 (0) | 2018.03.19 |
Git branch, merge, checkout 명령어 모음 (0) | 2017.03.22 |
git commit시 vi 에러: there was a problem with the editor 'vi'. git (0) | 2017.03.18 |