A code is first pulled down with git in window
, but in wsl git status
shows that all files are modified
Windows Subsystem for Linux
A code is first pulled down with git in window
, but in wsl git status
shows that all files are modified
Windows Subsystem for Linux
https://github.com/Microsoft/.
This could have something to do with WSL reporting the permissions of all files on the Windows filesystem as being 777. Git then regards all files as changed because their permissions are different.
Try changing the Git configuration so that permission changes are ignored:
-sharp For the current repository
git config core.filemode false
-sharp Globally
git config --global core.filemode false
method 2
It may be line endings,WSL thinks it is linux so it will use LF as the line endings.
You can set git to only use CRLF line endings with:
git config --global core.autocrlf true
Previous: How do prototypes in js add functions?
git bash runs npm install prompts that node is not an internal or external command, nor is it a runnable program or batch file. powshellnpm install npm git vs codegit nvm node vscode cmd sasscss 1. vscode git cmd ...
problem description using python to call antiword to convert doc to txt, it is found that the returned value is garbled, and using antiword on powershell is also garbled. It is no problem to call on git bash the environmental background of the probl...