From: Oleg Broytman Date: Wed, 12 May 2021 08:11:41 +0000 (+0300) Subject: Add script `speedup` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=483f8494c861d01603219e37fed8e4cbddba8f23;p=git-scripts.git Add script `speedup` --- diff --git a/speedup b/speedup new file mode 100755 index 0000000..6e91eee --- /dev/null +++ b/speedup @@ -0,0 +1,6 @@ +#! /bin/sh +# See https://stackoverflow.com/a/24045966/7976758 + +git config --global core.preloadindex true && +git config --global core.fscache true && +exec git config --global gc.auto 256