|
|
|
@ -148,6 +148,7 @@ cp gitprompt.fish ~/.config/fish/functions/fish_prompt.fish |
|
|
|
GIT_PROMPT_ONLY_IN_REPO=1 |
|
|
|
GIT_PROMPT_ONLY_IN_REPO=1 |
|
|
|
|
|
|
|
|
|
|
|
# GIT_PROMPT_FETCH_REMOTE_STATUS=0 # uncomment to avoid fetching remote status |
|
|
|
# GIT_PROMPT_FETCH_REMOTE_STATUS=0 # uncomment to avoid fetching remote status |
|
|
|
|
|
|
|
# GIT_PROMPT_IGNORE_SUBMODULES=1 # uncomment to avoid searching for changed files in submodules |
|
|
|
|
|
|
|
|
|
|
|
# GIT_PROMPT_SHOW_UPSTREAM=1 # uncomment to show upstream tracking branch |
|
|
|
# GIT_PROMPT_SHOW_UPSTREAM=1 # uncomment to show upstream tracking branch |
|
|
|
# GIT_PROMPT_SHOW_UNTRACKED_FILES=all # can be no, normal or all; determines counting of untracked files |
|
|
|
# GIT_PROMPT_SHOW_UNTRACKED_FILES=all # can be no, normal or all; determines counting of untracked files |
|
|
|
@ -290,6 +291,10 @@ GIT_PROMPT_COMMAND_FAIL="${Red}✘-_LAST_COMMAND_STATE_ " # displays as ✘-1 fo |
|
|
|
``GIT_PROMPT_SHOW_UNTRACKED_FILES=no`` in your ``.bash-git-rc`` in the repository or |
|
|
|
``GIT_PROMPT_SHOW_UNTRACKED_FILES=no`` in your ``.bash-git-rc`` in the repository or |
|
|
|
by disabling it globally in your ``.bashrc`` |
|
|
|
by disabling it globally in your ``.bashrc`` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- If you have a repository with a deep submodule hierarchy, this can also affect performance. |
|
|
|
|
|
|
|
You can disable searching for changes in submodules on a per repository basis by setting |
|
|
|
|
|
|
|
``GIT_PROMPT_IGNORE_SUBMODULES=1`` in your ``.bash-git-rc`` |
|
|
|
|
|
|
|
|
|
|
|
- You can get help on the git prompt with the function ``git_prompt_help``. |
|
|
|
- You can get help on the git prompt with the function ``git_prompt_help``. |
|
|
|
Examples are available with ``git_prompt_examples``. |
|
|
|
Examples are available with ``git_prompt_examples``. |
|
|
|
A list of all available named colors is available with `git_prompt_color_samples` |
|
|
|
A list of all available named colors is available with `git_prompt_color_samples` |
|
|
|
|