core.autocrlf Questions

1

I have core.autocrlf set to true. I want to change it to false. In Git Bash I ran git config --global core.autocrlf false but git config --list still shows core.autocrlf=true. I have retried res...
Marianamariand asked 30/9, 2016 at 0:39

1

Solved

I'm trying to set core.autocrlf=true. But after executing git config --global core.autocrlf true the output of git config -l shows both these lines core.autocrlf=false ... other settings ... core...
Szymanski asked 27/9, 2016 at 5:52

0

At this point I feel like I've read every article online about core.autocrfl and the various ways to specify line endings in .gitattributes, but I still can't really figure out what I need. Our en...
Flannel asked 21/7, 2016 at 21:59

1

I develop for both Windows and linux. My Linux development environment is a virtual box running on my windows hosts. i have some directories shared (actually suing samba, not the built-in virtual b...
Cheroot asked 20/6, 2016 at 15:50

1

Git Auto Merge Issue: When there is Same code committed in two different branches file with one of this branch code having extra CRLF/LF at start. While merging it auto merges the file creates dup...
Chokedamp asked 27/4, 2016 at 12:31

2

I was searching for the proper setting to be used as per certain use cases but could not find any source describing the same. Therefore, I am asking this question to serve as a solution to anyone l...
Hyetography asked 30/1, 2016 at 16:44

2

I was searching for the proper setting to be used as per certain use cases but could not find any source describing the same. Therefore, I am asking this question to serve as a solution to anyone l...
Barometrograph asked 30/1, 2016 at 16:44

1

I am working in a windows-only working environment with developers using all kinds of tools to edit their files. We are using .git along with the atlassian stack to version our code. I like almost ...
Nunciata asked 3/9, 2015 at 10:41

4

Solved

I'm new to git and I need some help. I'm using msysgit on windows. When I execute the command git add [folderName] I get the response: fatal: LF would be replaced by CRLF in [.css file or .js fil...
Lecythus asked 28/12, 2011 at 4:2

2

Solved

Here is my system dialogue: unrollme-dev-dan:views Dan$ git reset --hard HEAD HEAD is now at 3f225e9 Fix scan titles unrollme-dev-dan:views Dan$ git status # On branch master # Changes not staged ...
Tenorrhaphy asked 28/3, 2013 at 14:17

1

Solved

I am using git on a Java project which is deployed to Windows, Linux, and Mac clients. For this Java project, I also maintain *.sh scripts for running the compiled binaries on Mac/Linux and .exe/.b...
Jenks asked 29/1, 2015 at 20:46

2

There is a bewildering array of options that can be set via git config, and that is just the documented ones. Of all of these options, which ones should every developer have set on their box (like ...
Wadi asked 29/6, 2011 at 3:54

2

For a specific github repo ( only ) I need to make sure that all text files pushed have LF line-ending ( not CRLF ). Further, pulled-down repo files should retain LF line-ending on clients either ...
Parapodium asked 17/12, 2014 at 3:20

1

Solved

My autocrlf is equal to true. In my cygwin-shell git status gives me a correct list of all my changes. In Git Bash git status says I modified all files in the project. I also see this in Git GUI a...
Switzerland asked 16/10, 2014 at 14:50

6

Solved

I'm experiencing the same issues as in this question: git status shows modifications, git checkout -- <file> doesn't remove them Git continues to show working directory modifications, ev...
Indecent asked 12/6, 2012 at 22:18

2

Solved

I have Windows machine with VS project and I use both Visual Studio and tools from Cygwin environment including Git. Sometimes I get different line endings in files after editing. I want simple sol...
Waitabit asked 14/11, 2013 at 12:48

2

Solved

I have a .gitattributes file in my repository that looks like this * text=auto *.txt text I have unset core.autocrlf in the repository, global, and system settings. My understanding, based on th...
Mako asked 4/12, 2012 at 20:20

5

Solved

Practically everytime I stage a textfile (that's most of em), I get the message from git gui (I use msysgit) that It replaced (or is about to) line endings with CRLF's. Obviously I want that (and t...
Barmy asked 1/10, 2010 at 16:26

1

I am using git svn and today I ran into some trouble. I did an git svn clone and worked on my project for a while. After a few days, I've pushed my work to the svn remote (git svn dcommit). Then I...
Andryc asked 9/8, 2012 at 13:19

1

Solved

As one can glean from other posts, Git's end-of-line normalization has its pros and cons. I have one particular Windows-only project where I think the best thing to do is to is to disable end-of-li...
Dog asked 29/3, 2012 at 20:27

1

Solved

I'm pretty happy with how Git itself handles line endings, via core.autocrlf, core.eol + gitattributes (Tim's post is excellent). I have a Windows Git repo that has autocrlf set to true. So, all t...
Pat asked 28/3, 2012 at 14:27

2

I created my repo with autocrlf=true and then made some checkouts and commits with autocrlf=false. Then switched back to autocrlf=true (OS Win). Everything seemed to be OK, until I started some mer...
Cecilececiley asked 25/8, 2011 at 8:25

1

Solved

My boss and I are the only ones working on our project and we use Macs exclusively for development. We are doing groovy/grails development, and deploy to Linux servers. There is no use of MS Window...
Ressieressler asked 13/8, 2011 at 18:24

1

Solved

There had been a lot of discussions about the core.autocrlf and core.safecrlf features in the current release and the next release. The question i have here relates to an environment where develope...
Sexennial asked 11/8, 2010 at 6:21

© 2022 - 2024 — McMap. All rights reserved.