Top "Core.autocrlf" questions

core.

How do I force git to checkout the master branch and remove carriage returns after I've normalized files using the "text" attribute?

Okay, so I added the file .gitattributes with lines like this *.css text *.js text etc... I then followed the …

git newline core.autocrlf
How line ending conversions work with git core.autocrlf between different operating systems

I've read a lot of different questions and answers on Stack Overflow as well as git documentation on how the …

git newline core.autocrlf
env: bash\r: No such file or directory

I'm trying to install YouCompleteMe from here. When I execute: ./install.sh --clang-completer I get this error: env: bash\r: …

windows git bash line-endings core.autocrlf
Git, adding files to repository gives fatal error for LF ->CRLF

I'm new to git and I need some help. I'm using msysgit on windows. When I execute the command git …

git version-control newline msysgit core.autocrlf
Why is 'Updating the Git index failed' displayed

I am using Windows. When staging files I get this error. Updating the Git index failed. A rescan will be …

windows git newline core.autocrlf
How to to disable Git end-of-line (CRLF to LF) across all clones/machines?

As one can glean from other posts, Git's end-of-line normalization has its pros and cons. I have one particular Windows-only …

git newline gitattributes core.autocrlf
Git on Windows: What do the crlf settings mean?

I don't understand the complexities related to CrLf settings in git: core.autocrlf, core.safecrlf I'm developing a cross-platform project …

windows linux git newline core.autocrlf
Git core.safecrlf different behavior on files with same line endings

I have Windows machine with VS project and I use both Visual Studio and tools from Cygwin environment including Git. …

windows git cygwin newline core.autocrlf
/usr/bin/env: ‘bash\r’: No such file or directory

I am having an issue after setting up docker in Linux terminal in win10. When I am trying to build …

git docker newline windows-subsystem-for-linux core.autocrlf
git status shows modifications even with autocrlf=false

I'm experiencing the same issues as in this question: git status shows modifications, git checkout -- <file> doesn't …

git revert git-status core.autocrlf