Skip to content

Latest commit

 

History

History

git-rev-list-all-objects-by-size-and-name

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

git rev-list-all-objects-by-size-and-name

List all objects by size in bytes and file name.

Git alias:

rev-list-all-objects-by-size-and-name = !"git rev-list --all --objects | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' | awk '/^blob/ {print substr($0,6)}' | sort --numeric-sort --key=2"

Example:

git rev-list-all-objects-by-size-and-name

By raphinesse