GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — platform-samples/scripts at master · github/platform-samples

Expand file tree

/

scripts

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

scripts

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
boostrap
boostrap
 
 
tests
tests
 
 
README.md
README.md
 
 
git-append-commit-trailer
git-append-commit-trailer
 
 
git-change-author
git-change-author
 
 
git-find-dirs-deleted-files
git-find-dirs-deleted-files
 
 
git-find-dirs-many-files
git-find-dirs-many-files
 
 
git-find-dirs-unwanted
git-find-dirs-unwanted
 
 
git-find-ignored-files
git-find-ignored-files
 
 
git-find-large-files
git-find-large-files
 
 
git-find-lfs-extensions
git-find-lfs-extensions
 
 
git-find-stale-branches
git-find-stale-branches
 
 
git-find-utf-16-encoded-files
git-find-utf-16-encoded-files
 
 
git-normalize-pathnames
git-normalize-pathnames
 
 
git-purge-files
git-purge-files
 
 

README.md

Outline

Git Repo Analysis Scripts

Git can become slow if a repository exceeds certain thresholds (read this for details). Use the scripts explained below to identify possible culprits in a repository. The scripts have been tested on macOS but they should run on Linux as is.

Hint: The scripts can run for a long time and output a lot lines. Pipe their output to a file (./script > myfile) for further processing.

Large by File Size

Use the git-find-large-files script to identity large files in your Git repository that you could move to Git LFS (e.g. using git-lfs-migrate).

Use the git-find-lfs-extensions script to identify certain file types that you could move to Git LFS.

Large by File Count

Use the git-find-dirs-many-files and git-find-dirs-unwanted scripts to identify directories with a large number of files. These might indicate 3rd party components that could be extracted.

Use the git-find-dirs-deleted-files to identify directories that have been deleted and used to contain a lot of files. If you purge all files under these directories from your history then you might be able significantly reduce the overall size of your repository.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.