Fix wrong flag description
parent
3ddb14bab3
commit
39a2c37524
10
README.md
10
README.md
|
|
@ -127,14 +127,14 @@ Set `SCM_GIT_SHOW_REMOTE_INFO` to 'false' to **disable the feature**:
|
||||||
|
|
||||||
By default, `git status` command shows information about *untracked* files, this behavior can be controlled through command line flags or git configuration files, for big repositories, ignoring *untracked* files can make git faster. Bash it uses `git status` to gather the repo information it shows in the prompt, so in some circumstances, can be useful to instruct Bash it to ignore these files. You can control this behavior with the flag `SCM_GIT_IGNORE_UNTRACKED`:
|
By default, `git status` command shows information about *untracked* files, this behavior can be controlled through command line flags or git configuration files, for big repositories, ignoring *untracked* files can make git faster. Bash it uses `git status` to gather the repo information it shows in the prompt, so in some circumstances, can be useful to instruct Bash it to ignore these files. You can control this behavior with the flag `SCM_GIT_IGNORE_UNTRACKED`:
|
||||||
|
|
||||||
Set `SCM_GIT_IGNORE_UNTRACKED` to 'true' (the default value) to get information about *untracked* files:
|
Set `SCM_GIT_IGNORE_UNTRACKED` to 'false' (the default value) to get information about *untracked* files:
|
||||||
|
|
||||||
* `export SCM_GIT_IGNORE_UNTRACKED=true`
|
|
||||||
|
|
||||||
Set `SCM_GIT_IGNORE_UNTRACKED` to 'false' to **ignore** *untracked* files:
|
|
||||||
|
|
||||||
* `export SCM_GIT_IGNORE_UNTRACKED=false`
|
* `export SCM_GIT_IGNORE_UNTRACKED=false`
|
||||||
|
|
||||||
|
Set `SCM_GIT_IGNORE_UNTRACKED` to 'true' to **ignore** *untracked* files:
|
||||||
|
|
||||||
|
* `export SCM_GIT_IGNORE_UNTRACKED=true`
|
||||||
|
|
||||||
also, with this flag to false, Bash it will not show the repository as dirty when the repo have *untracked* files, and will not display the count of *untracked* files.
|
also, with this flag to false, Bash it will not show the repository as dirty when the repo have *untracked* files, and will not display the count of *untracked* files.
|
||||||
|
|
||||||
**NOTE:** If you set in git configuration file the option to ignore *untracked* files, this flag has no effect, and Bash it will ignore *untracked* files always.
|
**NOTE:** If you set in git configuration file the option to ignore *untracked* files, this flag has no effect, and Bash it will ignore *untracked* files always.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue