X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-gc.txt;h=d424a4ecbe2c751550f50048e63ce640941a3ebb;hb=6c41b80153a2e4ee347d0e968ee8d0d9abfc8862;hp=229a7c9b30482eb2d8729b581004bc776fa10edf;hpb=b75aaa546e0593440d85c77d380c9b53e126ea02;p=git.git diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt index 229a7c9b3..d424a4ecb 100644 --- a/Documentation/git-gc.txt +++ b/Documentation/git-gc.txt @@ -19,8 +19,15 @@ created from prior invocations of linkgit:git-add[1]. Users are encouraged to run this task on a regular basis within each repository to maintain good disk space utilization and good -operating performance. Some git commands may automatically run -`git-gc`; see the `--auto` flag below for details. +operating performance. + +Some git commands may automatically run `git-gc`; see the `--auto` flag +below for details. If you know what you're doing and all you want is to +disable this behavior permanently without further considerations, just do: + +---------------------- +$ git config --global gc.auto 0 +---------------------- OPTIONS -------