• Stars
    star
    145
  • Rank 252,615 (Top 6 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Scripts to analyse large Git repositories.

Git Repo Analysis Tools

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.

More Repositories

1

ShowInGitHub

Xcode plugin to open the GitHub page of the commit of the currently selected line in the editor window.
Objective-C
239
star
2

scotty

Helper scripts for GitHub Enterprise admins
Shell
88
star
3

hubsync

Sync repositories from GitHub.com to GitHub Enterprise
Ruby
30
star
4

Undo-in-OpenGL-ES

Simple "shake to undo" example based on Apple's GLPaint example in order to clarify a StackOverflow question.
Objective-C
20
star
5

iVoxel

A voxel rendering engine for iOS and Mac OS X.
C
19
star
6

XcodeAutoCloseDebug

Xcode plugin that closes the debug window automatically after the debug session has ended.
Objective-C
14
star
7

cached-clone

Clone a repository and leverage a local cache.
Shell
10
star
8

Xcode-Scripting-Interface

Modify your Xcode project via command line.
Objective-C
8
star
9

ctags.js

ctags in the browser
C
6
star
10

git-list-helper

Shell
5
star
11

git-p4-bridge

Automatically sync Perforce changes to Git.
Shell
4
star
12

lfstest-manyfiles

3
star
13

homebridge-secvest-kit

TypeScript
3
star
14

ShhLion

Mac OS X 10.7 (Lion) kernel extension to suppress a high pitch sound in CPU idle mode.
C
3
star
15

s3backup

Encrypt and backup files to Amazon S3.
2
star
16

TageschauApp

Watch the latest german news with one tap on your iPhone.
Objective-C
1
star
17

MasterThesis

1
star
18

webvr-examples

CSS
1
star
19

oculus-leap

C++
1
star
20

larsxschneider.github.io

Ruby
1
star
21

hubtags

ctags for GitHub
JavaScript
1
star
22

playground

Just a playground to mess around with git...
1
star
23

chrome-github-magic

Chrome extensions to enhance Github diff pages. Click on a line number to open the source file at the position (e.g. to see more context). Option/Alt + click on a line number to edit the file at this position (only on named branches).
JavaScript
1
star