X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-pack-refs.txt;h=a5244d35f49f10b7954d8fa52164663e3d167d4b;hb=635536488c3efcf8495333b6a94e3e33c36fc055;hp=e4ff93471186533a6ce2084ee710deee71ad2aab;hpb=6bc4c72132adbdc06c428f86a96f27e4f8173b99;p=git.git diff --git a/Documentation/git-pack-refs.txt b/Documentation/git-pack-refs.txt index e4ff93471..a5244d35f 100644 --- a/Documentation/git-pack-refs.txt +++ b/Documentation/git-pack-refs.txt @@ -7,7 +7,7 @@ git-pack-refs - Pack heads and tags for efficient repository access SYNOPSIS -------- -'git-pack-refs' [--all] [--no-prune] +'git pack-refs' [--all] [--no-prune] DESCRIPTION ----------- @@ -31,7 +31,7 @@ Subsequent updates to branches always creates new file under A recommended practice to deal with a repository with too many refs is to pack its refs with `--all --prune` once, and -occasionally run `git-pack-refs \--prune`. Tags are by +occasionally run `git pack-refs \--prune`. Tags are by definition stationary and are not expected to change. Branch heads will be packed with the initial `pack-refs --all`, but only the currently active branch heads will become unpacked, @@ -42,7 +42,7 @@ unpacked. OPTIONS ------- -\--all:: +--all:: The command by default packs all tags and refs that are already packed, and leaves other refs @@ -51,7 +51,7 @@ developed and packing their tips does not help performance. This option causes branch tips to be packed as well. Useful for a repository with many branches of historical interests. -\--no-prune:: +--no-prune:: The command usually removes loose refs under `$GIT_DIR/refs` hierarchy after packing them. This option tells it not to. @@ -63,4 +63,4 @@ Written by Linus Torvalds GIT --- -Part of the linkgit:git[7] suite +Part of the linkgit:git[1] suite