How to Prevent Garbage Collection in GIT?

From the very same page you just linked to:

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

Leave a Comment