From 1df6e09f4a8a99fc9e0b087880ca699a7636f875 Mon Sep 17 00:00:00 2001 From: Matthew Puglisi Date: Fri, 25 Feb 2022 17:57:41 -0800 Subject: [PATCH] docs(faq): adds comment about slow git in local repo --- docs/docs/faq.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/docs/faq.mdx b/docs/docs/faq.mdx index c1f55505..391506ba 100644 --- a/docs/docs/faq.mdx +++ b/docs/docs/faq.mdx @@ -56,6 +56,8 @@ Whenever there's a segment that spikes, see if there might be updates to the und +If only your Git repo paths are slow, then try running [`git gc`][git-gc] to clean up and optimize the local repository. + If nothing seems to resolve the issue, feel free to [create an issue][new-issue]. ### Windows Terminal: Unexpected space between segments/text @@ -178,6 +180,7 @@ export VIRTUAL_ENV_DISABLE_PROMPT=1 +[git-gc]: https://git-scm.com/docs/git-gc [new-issue]: https://github.com/JanDeDobbeleer/oh-my-posh/issues/new/choose [latest]: https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest [wt-glyph]: https://github.com/microsoft/terminal/issues/3546