core.autocrlf Questions

5

I'm using SourceTree for easy code reviewing before committing. Within SourceTree I often stage and commit only part of the lines which I changed in a document. A couple days ago I received a piec...
Humdrum asked 10/9, 2015 at 16:27

2

Solved

As per this question, I understand that core.autocrlf=true in git will cause CRLF to LF translations. However when I type : git config core.autocrlf I see: false However, when I stage modified...
Ayakoayala asked 9/9, 2012 at 15:36

3

I've noticed a weird behavior in VSCode, when I save a file, even if I don't make any change, I can see in the low right corner that it changes from CRLF to LF. Even if I make several changes, git ...
Kloof asked 6/3, 2020 at 8:57

3

Solved

I don't have any experience with version control from the terminal but as far as I can tell SmartGit does not have a terminal nor does it use an external git client that I could configure via termi...
Seismic asked 22/4, 2013 at 15:0

11

Solved

I'm trying to install YouCompleteMe from here. When I execute: ./install.sh --clang-completer I get this error: env: bash\r: No such file or directory I don't know what's wrong with environ...
Esteresterase asked 14/3, 2015 at 3:33

1

Our team has people working on macs and windows. So far we had our git automatic line ending set to true (on OSX) and input (on Windows). It works nice, unless there is a merge conflict. In this ca...
Hawser asked 23/6, 2017 at 11:22

4

Solved

I am using Windows. When staging files I get this error. Updating the Git index failed. A rescan will be automatically started to resynchronize git-gui. followed by a list of files which have bee...
Catlike asked 13/5, 2012 at 17:40

4

Solved

I'm working on an Android project involving multiple developers, some of which are on Windows, others Linux/MacOS. Since I'm on Windows, I've been instructed to configure Git as follows to avoid is...
Hexagon asked 8/7, 2017 at 18:31

3

Solved

Okay, so I added the file .gitattributes with lines like this *.css text *.js text etc... I then followed the instructions at http://git-scm.com/docs/gitattributes#_checking-out_and_checking-in ...
Ouidaouija asked 20/6, 2013 at 20:51

3

Solved

I am having an issue after setting up docker in Linux terminal in win10. When I am trying to build it shows following error. /usr/bin/env: ‘bash\r’: No such file or directory ERROR: Service '...

8

I've read a lot of different questions and answers on Stack Overflow as well as git documentation on how the core.autocrlf setting works. This is my understanding from what I've read: Unix and Mac ...
Autecology asked 8/7, 2010 at 18:39

8

I've read a lot of different questions and answers on Stack Overflow as well as git documentation on how the core.autocrlf setting works. This is my understanding from what I've read: Unix and Mac ...
Everest asked 8/7, 2010 at 18:39

8

I've read a lot of different questions and answers on Stack Overflow as well as git documentation on how the core.autocrlf setting works. This is my understanding from what I've read: Unix and Mac ...
Extremadura asked 8/7, 2010 at 18:39

8

I've read a lot of different questions and answers on Stack Overflow as well as git documentation on how the core.autocrlf setting works. This is my understanding from what I've read: Unix and Mac ...
Habana asked 8/7, 2010 at 18:39

3

Is there a way to enforce core.autocrlf=input from within the .gitattributes in order to propagate the policy throughout my colleagues? In detail what I want is to convert to lf on add and leave a...
Okay asked 8/3, 2017 at 9:51

2

Solved

I've read Git documentation that shows that I can explicitly set certain files to be treated as text, so their line endings are automatically changed or as binary to ensure that they are untouched....
Clone asked 14/7, 2019 at 19:57

4

Is there a way to determine the line endings in a existing git repository? If I clone a existing repository how do I determine what core.autocrlf was used by the creator? I'm still uncertain wha...
Roomy asked 6/8, 2012 at 7:54

1

Solved

Working with a relatively large project, the policy to checkout CRLF and commit LF is used. To do so my system uses: git config --global core.autocrlf true However when committing a file, in thi...
Kong asked 11/4, 2019 at 12:56

1

I started working on a Xamarin crossplatform development recently. While some of devs in my team are using Mac for development (with Visual Studio for Mac), others are using Windows (with Visual St...
Slam asked 13/11, 2018 at 23:28

1

Solved

This is amazing. With a gazillion posts on the Internet about core.autocrlf and .gitattributes I am still unable to figure out what to write in .gitattributes to express core.autocrlf = false Can ...
Ecotone asked 25/10, 2018 at 19:18

2

Solved

This is pretty unintuitive: C:\python-tdl\examples\termbox>git config core.autocrlf false C:\python-tdl\examples\termbox>git commit termbox.py warning: LF will be replaced by CRLF in exampl...
Stenosis asked 22/6, 2015 at 11:22

1

Solved

Let's say we have team of 10 developers. Half of them use Windows and half Linux. All of them work together on a project, sharing work using GIT. Problem with CRLF/LF begins ... Exmaple: One devel...
Yuhas asked 8/6, 2018 at 23:27

2

Solved

So, I always thought that with core.autocrlf=true Git replaces all LF endings with CRLF when checking out the file into the working directory. From the Git book: If you’re on a Windows machine,...
Cowskin asked 22/4, 2015 at 9:32

1

Solved

I am looking again and again at the documentation of .gitattributes but I cannot find a clear answer on what is the differrence between these two: * text=auto * text eol=lf Also is text=auto int...
Apostil asked 5/10, 2017 at 16:2

3

Solved

I don't understand the complexities related to CrLf settings in git: core.autocrlf, core.safecrlf I'm developing a cross-platform project in a team and would like both Windows and Linux developers...
Tarrance asked 15/11, 2010 at 6:10

© 2022 - 2024 — McMap. All rights reserved.