How to list committed git files per size?

Is it possible to list the set of committed files in a git repository, per file size?

I am using TortoiseGit under windows 7.

  • Git:push from branch caused unwanted files to be committed
  • Git rebase my forked branch on upstream master
  • Git - How to use .netrc file on windows to save user and password
  • Private gems are not getting installed in docker
  • View .docx file on Github and use git diff on .docx file format
  • Is it possible to store Functional/Acceptance config URL of Codeception outside repository?
  • git svn clone prints hundreds of “error: too many matches for svn-remote.svn.added-placeholder”
  • JGit get pulled files
  • Using git for VS2010 project: Can't add file *.opensdf
  • How can I know what was the latest changes made to a branch?
  • How do I expand a git repository
  • why magit said ' Git is already running' when i am trying to do a commit
  • One Solution collect form web for “How to list committed git files per size?”

    You might have to fall back to the command line for this kind of search.

    See if an approach like the one described in “Finding and Purging Big Files From Git History” can work:

    git gc && git verify-pack -v .git/objects/pack/pack-*.idx | egrep "^\w+ blob\W+[0-9]+ [0-9]+ [0-9]+$" | sort -k 3 -n -r > bigobjects.txt

    You might need to install GoW (Gnu On Windows) for the sort command.
    The egrep command is part of a regular msysgit distribution.

    Git Baby is a git and github fan, let's start git clone.