From bf0fc0a8b5f30596e44f0d2fa83410b2fe78d222 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Thu, 3 Jun 2021 19:55:08 +0200 Subject: [PATCH] docs: add git executable version info relates to #753 --- docs/docs/segment-git.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/docs/segment-git.mdx b/docs/docs/segment-git.mdx index 677a429d..bb79ba50 100644 --- a/docs/docs/segment-git.mdx +++ b/docs/docs/segment-git.mdx @@ -6,8 +6,10 @@ sidebar_label: Git ## What -Display `git status` information when in a git repository. Also works for subfolders. -Local changes can also shown by default using the following syntax for both the working and staging area: +Display git information when in a git repository. Also works for subfolders. For maximum compatibility, +make sure your `git` executable is up-to-date (when branch or status information is incorrect for example). + +Local changes can also be displayed which uses the following syntax for both the working and staging area: - `+` added - `~` modified