>PROBLEM
On Windows, after running a git command, it is thrown the following warning:
hint: core.useBuiltinFSMonitor will be deprecated soon; use core.fsmonitor instead
hint: Disable this message with "git config advice.useCoreFSMonitorConfig false"
>SOLUTION
core.fsmonitor
If set to true, enable the built-in file system monitor daemon for this working directory (git-fsmonitor--daemon[1]).
Like hook-based file system monitors, the built-in file system monitor can speed up Git commands that need to refresh the Git index
(e.g. git status) in a working directory with many files.
The built-in monitor eliminates the need to install and maintain an external third-party tool.
- Documentation:
https://git-scm.com/docs/git-config#Documentation/git-config.txt-corefsmonitor
Run the desired option:
git config core.fsmonitor true
or
git config core.fsmonitor false
*** IMPORTANT NOTE:
Run the command on the git's root folder.
Make sure that the git folder is not another git subdirectory of a root git folder.
Example:
+-- project
.git
myStuff
+-- project2
.git
myStuff2
>ENV
git version 2.36.0.windows.1
Windows 10
No comments:
Post a Comment