An improvement to raphinesse's answer, sort by size with largest first: git rev-list -- objects --all \ | git cat-file --batch-check='%(objecttype) ...
Order unique objects in descending size order.
This merges the file listing in the index with the actual working directory list, and shows
In this article, we will present a number of useful ls command options to list all of the files in a certain directory and sort them by file size in Linux.
Linux command line solution. Recursively return entire list of only files from a directory, sorted by file size. find . -type f -print0 | xargs - ...
The new git sparse-checkout command makes this process much easier.
Understand the file conventions of the Git repository wiki in Azure DevOps.
When you push new commits to the server, any Git LFS files referenced by the newly
Deleting files in a commit doesn't actually reduce the size of the repository, because
List all .csv files in a directory by increasing order of file size; Drop the first line of each file and concat the rest into a single output file; Split the above output file ...