Try setting core.autocrlf value like this :
git config --global core.autocrlf true
More Related Contents:
- git replacing LF with CRLF
- How do SO_REUSEADDR and SO_REUSEPORT differ?
- How to convert DOS/Windows newline (CRLF) to Unix newline (LF) in a Bash script
- How to install latest version of git on CentOS 8.x/7.x/6.x
- “Unable to find remote helper for ‘https'” during git clone
- Retaining file permissions with Git
- How to convert DOS/Windows newline (CRLF) to Unix newline (LF)
- How to find out line-endings in a text file?
- How to copy commits from one Git repo to another?
- Error when using Git credential helper with gnome-keyring as Sudo
- Automating running command on Linux from Windows using PuTTY
- Free GIT Server with Web GUI a la BitBucket/GitHub [closed]
- Mount SMB/CIFS share within a Docker container
- How to force consistent line endings in Git commits with cross-platform compatibility
- env: bash\r: No such file or directory [duplicate]
- Concurrency in a GIT repo on a network shared folder
- Git and hard links
- git submodule update failed with ‘fatal: detected dubious ownership in repository at’
- How can I run a Windows executable from WSL (Ubuntu) Bash
- Can’t clone a github repo on Linux via HTTPS
- Signing Windows application on Linux-based distros
- Cross-compile a Rust application from Linux to Windows
- Makefile that distinguishes between Windows and Unix-like systems
- How to check if a program is run in Bash on Ubuntu on Windows and not just plain Ubuntu?
- Best way to script remote SSH commands in Batch (Windows)
- make git clone with sudo
- How to limit file size on commit?
- Getting MAC Address
- Setting the Vim background colors
- com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded