terminal
git
My Custom Bash Scripts
These two lines of code fix whenever there is a mismatch between ubuntu and windows git status.
git config core.autocrlf true
git config core.filemode false| Key | Value |
|---|---|
| created | 2026-01-27 13:52:54 |
| shamsi | 1404-11-07 13:52:54 |
| calendar | [[2026-01-27]] |
| title | Fix Ubuntu Windows Mismatch in WSL |
| publish | true |
| modified | 2026-01-27 13:52:54 |
terminal
git
My Custom Bash Scripts
These two lines of code fix whenever there is a mismatch between ubuntu and windows git status.
git config core.autocrlf true
git config core.filemode false