| 
 | 1 | +git-survey(1)  | 
 | 2 | +=============  | 
 | 3 | + | 
 | 4 | +NAME  | 
 | 5 | +----  | 
 | 6 | +git-survey - EXPERIMENTAL: Measure various repository dimensions of scale  | 
 | 7 | + | 
 | 8 | +SYNOPSIS  | 
 | 9 | +--------  | 
 | 10 | +[verse]  | 
 | 11 | +(EXPERIMENTAL!) 'git survey' <options>  | 
 | 12 | + | 
 | 13 | +DESCRIPTION  | 
 | 14 | +-----------  | 
 | 15 | + | 
 | 16 | +Survey the repository and measure various dimensions of scale.  | 
 | 17 | + | 
 | 18 | +As repositories grow to "monorepo" size, certain data shapes can cause  | 
 | 19 | +performance problems.  `git-survey` attempts to measure and report on  | 
 | 20 | +known problem areas.  | 
 | 21 | + | 
 | 22 | +Ref Selection and Reachable Objects  | 
 | 23 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  | 
 | 24 | + | 
 | 25 | +In this first analysis phase, `git survey` will iterate over the set of  | 
 | 26 | +requested branches, tags, and other refs and treewalk over all of the  | 
 | 27 | +reachable commits, trees, and blobs and generate various statistics.  | 
 | 28 | + | 
 | 29 | +OPTIONS  | 
 | 30 | +-------  | 
 | 31 | + | 
 | 32 | +--progress::  | 
 | 33 | +	Show progress.  This is automatically enabled when interactive.  | 
 | 34 | + | 
 | 35 | +Ref Selection  | 
 | 36 | +~~~~~~~~~~~~~  | 
 | 37 | + | 
 | 38 | +The following options control the set of refs that `git survey` will examine.  | 
 | 39 | +By default, `git survey` will look at tags, local branches, and remote refs.  | 
 | 40 | +If any of the following options are given, the default set is cleared and  | 
 | 41 | +only refs for the given options are added.  | 
 | 42 | + | 
 | 43 | +--all-refs::  | 
 | 44 | +	Use all refs.  This includes local branches, tags, remote refs,  | 
 | 45 | +	notes, and stashes.  This option overrides all of the following.  | 
 | 46 | + | 
 | 47 | +--branches::  | 
 | 48 | +	Add local branches (`refs/heads/`) to the set.  | 
 | 49 | + | 
 | 50 | +--tags::  | 
 | 51 | +	Add tags (`refs/tags/`) to the set.  | 
 | 52 | + | 
 | 53 | +--remotes::  | 
 | 54 | +	Add remote branches (`refs/remote/`) to the set.  | 
 | 55 | + | 
 | 56 | +--detached::  | 
 | 57 | +	Add HEAD to the set.  | 
 | 58 | + | 
 | 59 | +--other::  | 
 | 60 | +	Add notes (`refs/notes/`) and stashes (`refs/stash/`) to the set.  | 
 | 61 | + | 
 | 62 | +OUTPUT  | 
 | 63 | +------  | 
 | 64 | + | 
 | 65 | +By default, `git survey` will print information about the repository in a  | 
 | 66 | +human-readable format that includes overviews and tables.  | 
 | 67 | + | 
 | 68 | +References Summary  | 
 | 69 | +~~~~~~~~~~~~~~~~~~  | 
 | 70 | + | 
 | 71 | +The references summary includes a count of each kind of reference,  | 
 | 72 | +including branches, remote refs, and tags (split by "all" and  | 
 | 73 | +"annotated").  | 
 | 74 | + | 
 | 75 | +Reachable Object Summary  | 
 | 76 | +~~~~~~~~~~~~~~~~~~~~~~~~  | 
 | 77 | + | 
 | 78 | +The reachable object summary shows the total number of each kind of Git  | 
 | 79 | +object, including tags, commits, trees, and blobs.  | 
 | 80 | + | 
 | 81 | +GIT  | 
 | 82 | +---  | 
 | 83 | +Part of the linkgit:git[1] suite  | 
0 commit comments