|
|
|
|
@ -3,6 +3,8 @@ |
|
|
|
|
# being displayed. |
|
|
|
|
|
|
|
|
|
git_prompt_help() { |
|
|
|
|
source prompt-colors.sh |
|
|
|
|
source git-prompt-colors.sh |
|
|
|
|
cat <<EOF | sed 's/\\\[\\033//g' | sed 's/\\\]//g' |
|
|
|
|
The git prompt format is [<BRANCH><TRACKING>|<LOCALSTATUS>] |
|
|
|
|
|
|
|
|
|
@ -18,12 +20,12 @@ remote branch. It can be empty, or one of: |
|
|
|
|
|
|
|
|
|
LOCALSTATUS is one of the following: |
|
|
|
|
|
|
|
|
|
${GIT_PROMPT_CLEAN}${ResetColor} - repository clean |
|
|
|
|
${GIT_PROMPT_STAGED}N${ResetColor} - N staged files |
|
|
|
|
${GIT_PROMPT_CONFLICTS}N${ResetColor} - N conflicted files |
|
|
|
|
${GIT_PROMPT_CHANGED}N${ResetColor} - N changed but *unstaged* files |
|
|
|
|
${GIT_PROMPT_UNTRACKED}N${ResetColor} - N untracked files |
|
|
|
|
${GIT_PROMPT_STASHED}N${ResetColor} - N stash entries |
|
|
|
|
${GIT_PROMPT_CLEAN}${ResetColor} - repository clean |
|
|
|
|
${GIT_PROMPT_STAGED} N${ResetColor} - N staged files |
|
|
|
|
${GIT_PROMPT_CONFLICTS} N${ResetColor} - N conflicted files |
|
|
|
|
${GIT_PROMPT_CHANGED} N${ResetColor} - N changed but *unstaged* files |
|
|
|
|
${GIT_PROMPT_UNTRACKED} N${ResetColor} - N untracked files |
|
|
|
|
${GIT_PROMPT_STASHED} N${ResetColor} - N stash entries |
|
|
|
|
|
|
|
|
|
See "git_prompt_examples" for examples. |
|
|
|
|
EOF |
|
|
|
|
|